Basics Of Bash Shell

 We have read in Bash Shell In Linux about a command interpreter known as bash shell.

Terminal And Prompt

We need a software where we can type our command to be executed. This piece of  software is called a terminal. A prompt is a place where we type our commands. It is usually represented by $ for a normal user and by # for the root user or the admin of the system.

Users

One who uses a system is known as a user of the system. There are two types of users, a normal user and a root user. A normal user usually has authority over his/her stuff inside the home directory. It means a normal user has no authority over the whole system. There is only one root user on a system. And the root user has absolute authority over the whole system. 
A normal user has a directory inside /home directory which is named as user's name. A user joe has a home directory /home/joe. But the root user home directory is /root. No other user can access it.
There is a file /etc/passwd which contains the details of a user. We will explore this file in detail in the future. 

Happy reading and thank you. Meet you soon.

Comments

Popular posts from this blog

Bash Shell In Linux

Creating An Animation Using A Text Editor

expr command In TCL