When you craft a shell program, there are some initial steps you want to perform so that you have consistency among all of your programs. The following is a list of some important concepts to employ with your shell programs:
Following the previous list of recommendations will make creating and using shell programs more efficient. Now we need to cover the types of shell programs. A shell program is simply a file containing a set of commands you wish to execute sequentially. The file needs to be set with execute permissions so that you can execute it just by typing the name of the script. There are two basic forms of shell programs exist:
Given these two basic forms you can build everything from simple command replacements to much larger and more complex data manipulation and system administration tools. |