| Article offers concise guide to Linux shell scripting |
Oct. 31, 2005
Although modern desktop Linux distributions pride themselves in minimizing the need for users to resort to command-line activities, there are times when a visit to a shell prompt can come in handy. To this end, a concise guide to Linux shell scripts is now available from the LinuxHelp blog.
In the blog item, entitled "Ten-Second Guide to Linux Bash Shell Scripting," blogger Ravi introduces the Guide saying, "First let me clarify that this is not going to be a detailed study of shell scripting," he writes, "but as the name of the post indicates, it will be a quick reference to the syntax used in scripting for the bash shell. So if you are expecting the former, then you should buy yourself a good book on shell scripting ... let's move on to the guide. Start your stop watch now."
Sections in the Guide briefly cover: - Common environment variables
- Some bash shell scripting rules
- Conditional statements
- Things to remember while using test
- Case statement
- Looping Statements
- A few special symbols and their meanings w.r.t shell scripts
- Exit status of the last command
"If you know of a better way of doing a task than what has been written here, you are encouraged to write a comment in the relevent section explaining how to do it," Ravi adds.
The ten-second shell scripting guide can be found here.
What's BASH, you say? Bash is the most common "shell," or command language interpreter. Find out more about BASH here.
Related Stories:
(Click here for further information)
|
|
|
|
|
|
|
|