Linux / UNIX: Print Current Working Directory with pwd command

Linux / UNIX: Print Current Working Directory with pwd command

To print the current working directory on a Linux or UNIX system, you can use the pwd command.

pwd
‮cruoS‬e:www.lautturi.com

The pwd command stands for "print working directory," and it displays the full path of the current working directory.

For example, if the current working directory is /home/user/documents, the pwd command will output:

/home/user/documents

The pwd command is commonly used in shell scripts and command line scripts to determine the current directory, or to create paths relative to the current directory.

Created Time:2017-10-29 22:08:57  Author:lautturi