EN
Bash - print current working directory
4
points
In this short article, we would like to show how to print current working directory path in Bash.
Quick solution:
pwd
Practical example
In this example, ~ means user home directory, so john user will have the /home/john directory path.
john@HOME-PC:~# pwd
/home/john