![Forrest logo](/images/logo.png)
linux:files:current-dir
Show the current working directory.
$ pwd
try on your machine
The pwd
command stands for "print working directory". It is a shell command used in Unix-based operating systems to display the current directory or folder that the user is in. When the command is executed, it will print the full path of the current directory to the terminal. This can be useful when working with files or directories in the command line, as it helps the user keep track of their current location in the file system.
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.
Questions that are answered by this command:
- how do i show the current working directory in sftp?