What does the PWD environment variable contain?

0135

The PWD environment variable contains the current working directory of the shell session. It represents the full path to the directory you are currently in. You can display its value by running:

echo $PWD

This will output the path of the directory you are currently navigating in the terminal.

0 Comments

no data
Be the first to share your comment!