A shell script is a script or computer program written for the shell (command interpreter) of an operating system. Usually, the term refers to scripts written for a Unix shell. The Bourne shell is by far the most popular shell used for this purpose.
Shell scripts allow users to execute several programs with complex command line arguments with a single command. They are excellent for automating simple tasks.
For tasks deemed too large or complex to be comfortably handled with shell scripts, programs are often written in scripting languages, such as Perl. However, core system maintenance scripts, which might otherwise be written in such a language, continue to be written as shell scripts, as they cannot rely on the presence of Perl.
In DOS and Windows, such scripts are known as batch files.
You're currently browsing the ShellScripting section within the Linux and Unix category of DaniWeb, a massive community of 188,695 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other.
Logging into a page automatically using shellscript.
ShellScript to Zip / FTP / Delete transactional files.
And the script is not very flexible either--if you'd like to print, mail, backup, and delete some other file, you'll have to create another version of the script.
Also, notice that running a shellscript requires that it be read first; this is why you must have both read and execute permission to run a shellscript file, while you need only execute permission to run a binary file.
The Korn shell itself has two descendents of its own: the POSIX standard shell, which is virtually identical to the Korn shell; and a big Linux favorite, the Bourne Again shell.