What Is Pwd in Linux Command?

What Is Pwd in Linux Command?
Contents

pwd stands for Print Working Directory. It prints the path of the working directory, starting from the root. pwd is shell built-in command(pwd) or an actual binary(/bin/pwd). $PWD is an environment variable which stores the path of the current directory. This command has two flags.

What is pwd in command line?

P. W. (Print Working Directory) A Unix/Linux command that displays the full path to the current directory (folder). The equivalent in DOS/Windows is the cd command without any parameter. See full path and Chdir.

What is pwd command and usage?

‘pwd’ stands for ‘Print Working Directory‘. As the name states, command ‘pwd’ prints the current working directory or simply the directory user is, at present. It prints the current directory name with the complete path starting from root (/).

David Miller
Author

David Miller

David Miller brings 15 years of experience in global economics, personal finance strategy, and market dynamics. He specializes in turning complex economic trends into actionable insights for everyday readers.