DesktopLinux
Home  |  News  |  Articles  |  Forum  |  Polls  |  Blogs  |  Videos  |  Resource Library

Keywords: Match:
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)



Home  |  News  |  Articles  |  Forum  |  Polls  |  About  |  Contact
 

Ziff Davis Enterprise Home | Contact Us | Advertise | Link to Us | Reprints | Magazine Subscriptions | Newsletters
Tech RSS Feeds | ROI Calculators | Tech Podcasts | Tech Video | VARs | Channel News

Baseline | Careers | Channel Insider | CIO Insight | DesktopLinux | DeviceForge | DevSource | eSeminars |
eWEEK | Enterprise Network Security | LinuxDevices | Linux Watch | Microsoft Watch | Mid-market | Networking | PDF Zone |
Publish | Security IT Hub | Strategic Partner | Web Buyer's Guide | Windows for Devices

Developer Shed | Dev Shed | ASP Free | Dev Articles | Dev Hardware | SEO Chat | Tutorialized | Scripts |
Code Walkers | Web Hosters | Dev Mechanic | Dev Archives | igrep

Use of this site is governed by our Terms of Service and Privacy Policy. Except where otherwise specified, the contents of this site are copyright © 1999-2011 Ziff Davis Enterprise Holdings Inc. All Rights Reserved. Reproduction in whole or in part in any form or medium without express written permission of Ziff Davis Enterprise is prohibited. Linux is a registered trademark of Linus Torvalds. All other marks are the property of their respective owners.