Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Contribute
Contribute
Link to Us
Linux Jobs


Top White Papers

More on LinuxToday


Shell scripting for system administrators: the basics

Aug 13, 2010, 21:36 (2 Talkback[s])
(Other stories by Swayam Prakasha)

[ Thanks to Linux User & Developer magazine for this link. ]

"If we frequently use a sequence of commands, it goes without saying that it's a waste of time to constantly retype them at a command prompt. Scripting is a mechanism that eliminates this need by automating the command sequence for you. Now a days, scripting has become an integral part of a system administrator's job. Shells are used to accept commands given by the user. We usually come across different shells. The most commonly used are:
a. C shell (CSH)
b. Korn shell (KSH)
c. Bourne shell (SH)
"Which shell to use is based on our requirements and we can specify it within our shell script. To find all available shells on your system, you can type the following command:

# cat /etc/shells"

Complete Story

Related Stories: