pwd (Print Working Directory)

Understanding pwd Command in Linux

The pwd (Print Working Directory) command is a command used to print the full path (absolute path) to your working directory. No argument is required for this command. Simply run the command as shown below.

Command Line - INPUT
pwd

If your Working Directory is the etc directory under the root directory, the command line returns the following result.

Command Line - RESPONSE
/etc

You can also learn this topic offline. Click AmazonKindle.

Linux Introduction
Course Content