Shell Scripting

A shell script is a text file that contains a sequence of commands for a Unix-based operating system. It’s called a shell script because it is interpreted by the shell (another program).

What is shell

Shell is a Linux term for the interactive user interface with an operating system.

The shell is the layer of programming that understands and executes the commands a user enters. In some systems, the shell is called a command interpreter.

Script

Script is a sequence of commands, interpreted by another program at runtime.

Why use shell scripting

• Easy to learn – compared to traditional programming languages.

• It takes much less code to do something with shell scripting than when using a traditional programming language.

• Shell scripting is portable to almost all linux variants.


      We provide Linux Shell Scripting-Free Online tutorials for the educational purposes only. We do not responsiable for the correctness of its contents. the risk of using it lies entirely with the user.