what is / and ~ sympol
/ is represent root directory
~ is represent home directory
example type
cd /
then check the present working directory through pwd command
then you see it is root directory
studentwebsite@jkumar-desktop:/$ cd /
studentwebsite@jkumar-desktop:/$ pwd
/
cd ~
then check the present working directory through pwd command
then you see it is home directory of current user
in these case current user studentwebsite
studentwebsite@jkumar-desktop:/$ cd ~
studentwebsite@jkumar-desktop:~$ pwd
/home/studentwebsite
0 Comments