Command pwd
Learn about pwd command in detail.
We'll cover the following...
pwd
Depending upon our Bash configuration, the current directory may be displayed in the command prompt itself. This feature, however, is not enabled in Linux and macOS by default.
When we start the terminal, it opens the home directory of the current user. Bash abbreviates this path with the tilde symbol ~
. We see this symbol before the command prompt. Use a tilde instead of the home directory absolute path. It makes our commands shorter. ...
Other directories and our present working directory
Access this course and 1400+ top-rated courses and projects.