The SSH pwd command can be quite handy and useful when managing your directories in a Linux system. You can use this Linux command to identify what your shell’s current directory is. This command is quite useful for every server administrator and it is one of the basic and fundamental commands that any beginner user should master. In this article, we will cover the basic usage of the SSH pwd command with examples.
Print working directory with SSH pwd
By default, pwd works as if the -P option is enabled
pwd
Print working directory without displaying symlinks
pwd -P
This is one of the most widely used commands in addition to the Linux cd command. Using both commands is the essentials of navigating through a Linux system.