Linux [Electronic resources]

Janet Valade

نسخه متنی -صفحه : 357/ 242
نمايش فراداده

Chapter 19. Shell Scripts

Shell scripts are text files containing commands. The use of commands at the command-line interface is explained in Chapter 7, including their syntax and capabilities. The same commands, using the same syntax, can be stored in a shell script. When you run the script, the commands are executed, one by one, starting from the beginning, just as if you were typing them directly into the shell yourself, one by one. Often you can save yourself a great deal of typing by putting commands you enter frequently into shell scripts.Chapter 7 explains the syntax of using commands. Appendix B provides a reference, with details, of the most useful commands.