DEV Community

Cover image for How to see the current directory the user is currently navigated on the Linux terminal?
MELVIN GEORGE
MELVIN GEORGE

Posted on • Originally published at melvingeorge.me

How to see the current directory the user is currently navigated on the Linux terminal?

Originally posted here!

To see the current directory the user is currently navigated, you can use the pwd command (aka present working directory command) on the Linux terminal.

# See the current working directory
pwd

# OUTPUT
/Users/developer
Enter fullscreen mode Exit fullscreen mode
  • Using the pwd command will show the current working directory the user is currently on the Linux terminal.

See the execution of the above command live in repl.it.

That's all ๐Ÿ˜ƒ!

Feel free to share if you found this useful ๐Ÿ˜ƒ.


Top comments (0)