Command Line Tools

Understanding command prompt

On a default Redhat system terminal consoles look like this.

default terminal login screen

Above image contain following information.

Release version of RHELRed Hat Enterprise Linux Server release 6.1 (Santiago)
Version number of the kernelKernel 2.6.32-131.0.15.el.x86_64 on an x86_64
System hostnamelocalhost

Which command line prompt are you going to get is depends on user type. However you could customize the prompt. Linux systems have two types of user super user known as root user and normal user. For these Linux system have two basic prompts. The following is an example of what you might see when logged in as a normal user:

Note how it includes the username, the hostname of the local system, the current directory, and a $ prompt. The $ prompt is the standard for normal users.

default command prompt of normal user

In above example

sanjayusername
localhostcomputer name
~user's home directory in this example it would be /home/sanjay Every user by default gets a directory in home folder.

Now take a look at a prompt for the root administrative user on the same system. It should look familiar. Except for the name of the account, the only consistent difference is the prompt.

default command prompt of root

In this example

rootusername
localhostcomputer name
~user's home directory in this example it would be /root Root user get its directory separate from other users.

Search more about

Search in Google for

Custom Search