All About Linux Prompt
Once you log in your account you will see something like this in your terminal
sandeep@sandeep-desktop:~$_
It contain lot of information
1. sandeep :- This is your login name.
2. sandeep-desktop :- This is the name of the machine you are logged in.
3. :~ : This is your current directory(~ is for HOME directory)
4. $ : This means you were logged in as normal user , if it is # then you are root user.
sandeep@sandeep-desktop:~$ pwd
root@sandeep-desktop:/home/sandeep#
/home/sandeep
sandeep@sandeep-desktop:~$ cd /etc
sandeep@sandeep-desktop:/etc$ pwd/etc
* current directory part changes when you moved to another directory.
If You Liked This Post Please Take a Time To Share This Post
0 comments:
Post a Comment