Top 10 Hosting Information Updated: Saturday, February 4 2012

An Introduction to Shell Programming

What is a shell?

A shell, at least in computing terms, is one of the earliest ways to interface directly with a computer operating system. Shell predates GUI interfaces by decades, but is still in use today. As Shells have more direct access to the operating system they can quickly execute many commands. Depending on the system and the specific shell, these commands and what commands the shell may accomplish, differ greatly. Further, a system may be able to switch between different shells. Common Shells are C-Shell, Bash, T-Shell, etc.

What is Shell scripting?

Shell scripting exists between full programming and user commands.  Shell scripts can automate many shell activities. For instance one shell command might give a list of files in a directory; a shell script could execute this command numerous times and do more complicated things with the results. Shell languages are typically interpreted rather than compiled (when the script runs the computer generates the machine code rather than generating this once when the program is written)

Creating a Shell Script

Standard input, output, and error

Language Constructs


Tricks

 



More Resources  
Top 10 Hosting
Hub Review
HostMonster Review
FatCow.com Review
JustHost.com Review
BlueHost Review
IX Web Hosting Review
SuperGreen Review
InMotion Review
Top 10 Hosting Blog
Lunarpages Review
Fast Domain Review
Yahoo Hosting Review
HostGator Review
Globat Review
Dot5 Review
Go Daddy Review


More Web Hosting Categories: Dedicated Hosting - Reseller Hosting - VPS Hosting

This top 10 web hosting list provided courtesy of BigHosts.com, the industry leader in web hosting reviews and information.
Disclosure: Some web hosting companies on this site compensate BigHosts.com editors for reviewing their products/services.