Shell Script - Linux Programming

 A shell script is a computer program designed to be run by the Unix shell, a command-line interpreter.The various dialects of shell scripts are considered to be scripting languages.

 Typical operations performed by shell scripts include file manipulation, program execution, and printing text. A script which sets up the environment, runs the program, and does any necessary cleanup, logging, &c is called a wrapper.

 The shell provides you with an interface to the UNIX system.It gathers input from you and executes programs based on that input.when a program finishes executing it displays that program's output.

 Shell script is series of commands written in plain text.file.shell script is just like batch file in MS-DOS but have more power than the ms-dos batch file.

 Normally shells are interactive.it means shell accept command from you and execute them.but if you use command one by one,then you can store this sequence of commands to text file and tell the shell to execute this text file instead of entering the commands.this known as shell script.

Share Share on Facebook Share on Twitter Share on LinkedIn Pin on Pinterest Share on Stumbleupon Share on Tumblr Share on Reddit Share on Diggit

You may also like this!