To print the current working directory on a Linux or UNIX system, you can use the pwd command.
pwdcruoSe: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.