What Is Shell
What Is Shell
Linux Shell
Shell is broadly classified into two categories –
Command Line Shell
Graphical shell
Command Line Shell
Shell can be accessed by user using a command line interface.
A special program called Terminal in linux/macOS or
Command Prompt in Windows OS is provided to type in the
human readable commands such as “cat”, “ls” etc. and then it is
being execute. The result is then displayed on the terminal to
the user. A terminal in Ubuntu 16.4 system looks like this –
linux command line
In above screenshot “ls” command with “-l” option is executed.
It will list all the files in current working directory in long
listing format.
Working with command line shell is bit difficult for the
beginners because it’s hard to memorize so many commands. It
is very powerful, it allows user to store commands in a file and
execute them together. This way any repetitive task can be
easily automated. These files are usually called batch files in
Windows and Shell Scripts in Linux/macOS systems.
Graphical Shells
Graphical shells provide means for manipulating programs
based on graphical user interface (GUI), by allowing for
operations such as opening, closing, moving and resizing
windows, as well as switching focus between windows.
Window OS or Ubuntu OS can be considered as good example
which provide GUI to user for interacting with program. User
do not need to type in command for every actions.A typical
GUI in Ubuntu system –
GUI Shell
There are several shells are available for Linux systems like –
BASH (Bourne Again SHell) – It is most widely used shell
in Linux systems. It is used as default login shell in Linux
systems and in macOS. It can also be installed on Windows
OS.
CSH (C SHell) – The C shell’s syntax and usage are very
similar to the C programming language.
KSH (Korn SHell) – The Korn Shell also was the base for
the POSIX Shell standard specifications etc.