-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Linux Essentials - Second Edition
By :
One of the most basic features of shell scripts is the ability to run commands. You can use both commands that are built into the shell and external commands—that is, you can run other programs as commands. Most of the commands that you type in a shell prompt are external commands; they’re programs located in /bin, /usr/bin, and other directories on your path. You can run such programs, as well as internal commands, by including their names in the script. You can also specify parameters to such programs in a script. For instance, suppose that you want a script that launches two xterm windows and the KMail mail reader program. Listing 11.1 presents a shell script that accomplishes this goal.
Aside from the first line that identifies it as a script, the script looks just like the commands that you might type to accomplish...
Change the font size
Change margin width
Change background colour