What is Linux Shell?


  What is Linux Shell?

 Note: For Linux, the Bash is the default
  •  For handling files/data easily
  •   For routing jobs, such as system administration, without writing programs
  • However, the shell script is not efficient, therefore, not good for time consuming calculation 

  Shell Prompt

There are various ways to get shell access:
  • Terminal - Linux desktop provide a GUI based login system. Once logged in you can gain access to a shell by running X Terminal (XTerm), Gnome Terminal (GTerm), or KDE Terminal (KTerm) application.
  • Connect via secure shell (SSH) - You will get a shell prompt as soon as you log in into remote server or workstation.
  • Use the console - A few Linux system also provides a text-based login system. Generally you get a shell prompt as soon as you log in to the system.

How do I find out my current shell name?

Tip: To find all available shells in your system type following command: 
$ cat /etc/shells
(In case the /etc/shells file has more than one shell listed under it, then it means that more than one shell is supported by your platform.)
  
Note that each shell does the same job, but each understand a different command syntax and provides different built-in functions.

The shell provides an interface to Linux where you can type or enter commands using the keyboard. It is known as the command line interface (CLI). To find out your current shell type following command
Tip: To find your current shell type following command  
$ echo $SHELL 


Comments

Popular posts from this blog

Challenging obstacles for immigrants

Permission and Ownership using awk