|
|
Here is where the fun beginsWith the thousands of commands available for the command line user, how can you remember them all? The answer is, you don't. The real power of the computer is its ability to do the work for you. To get it to do that, we use the power of the shell to automate things. We write scripts.Scripts are collections of commands that are stored in a file. The shell can read this file and act on the commands as if they were typed at the keyboard. In addition to the things you have learned so far, the shell also provides a variety of useful programming features to make your scripts truly powerful. What are scripts good for? A wide range of tasks can be automated. Here are some of the things I automate with scripts:
Contents
|
|
© 2000-2012,
William E. Shotts, Jr.
Verbatim copying and distribution of this entire article is
permitted in any medium, provided this copyright notice is preserved.
Linux® is a registered trademark of Linus Torvalds.
|
sábado, 13 de octubre de 2012
Writing Sheel Scripts Linux Unix
http://linuxcommand.org/writing_shell_scripts.php
Suscribirse a:
Enviar comentarios (Atom)
No hay comentarios:
Publicar un comentario