Displaying the current directory (pwd command)

Use the pwd command to write to standard output the full path name of your current directory (from the /(root) directory).

All directories are separated by a slash (/). The /(root) directory is represented by the first slash (/), and the last directory named is your current directory.

For example, to display your current directory, type the following:
pwd
The full path name of your current directory displays similar to the following:
/home/thomas