Contact us

Print

Using pwd

PWD stands for “present working directory”. It shows the location you are in on the
file system.

To use pwd


1. To find out your current working directory type


[root@localhost root]# pwd

/root


2. Change your directory to the /usr/local/ directory using the “cd” command


[root@localhost root]# cd /usr/local


3. Use pwd to find your present working directory


[root@localhost local]# pwd

/usr/local


4. Return to root’s home directory.


[root@localhost root]# cd



Created by: system. Last Modification: Wednesday 26 of November, 2008 19:11:09 EST by wale.

...