Which Linux command displays the full path of the directory you are currently working in?
- A.ls
- B.pwd
- C.cd
- D.path
Show answer
The name stands for print working directory, and the command prints the complete path of the directory in which the shell is placed at that moment, counted from the root directory written as a single forward slash.
Read the full explanation →