IT Training Institute in Delhi | Redhat Authorized Partner in Delhi | KR Network Cloud
Linux Shell Scripting
Linux Shell Scripting training | KR Network Cloud
Shell script defined as: “Shell Script is series of command written in plain text file. Shell script is just like batch file is MS-DOS but have more power than the MS-DOS batch file.”
Normally shells are interactive. It means shell accept command from you (via keyboard) and execute them. But if you use command one by one (sequence of 'n' number of commands), then you can store this sequence of command to text file and tell the shell to execute this text file instead of entering the commands. This is known as shell script.
Linux Shell Scripting Course Objective
Shell scripts can be used to prepare input files, job monitoring, and output processing.
Useful to create own commands.
Save lots of time on file processing.
To automate some task of day to day life.
System Administration part can be also automated.
A working knowledge of shell scripting is essential to everyone wishing to become
reasonably adept at system administration, even if they do not anticipate ever having to
actually write a script.
Writing shell scripts is not hard to learn, since the scripts can be built in bite-sized
sections and there is only a fairly small set of shell-specific operators and options to learn.
The syntax is simple and straightforward, similar to that of invoking and chaining
together utilities at the command line, and there are only a few "rules" to learn.
A shell script is a "quick and dirty" method of prototyping a complex application