Secure Socket Shell(SSH) is a network protocol that provides administrators with a secure way to access a remote system. SSH also refers to the suite of utilities that execute the protocol. The SSH gives strong authentication and secures encrypted data interfaces between two PCs interfacing over an insecure network, for example, the Internet. SSH is extensively used by network administrators for supervising structures and applications remotely, allowing them to sign in to another PC over a network, execute commands and move files from one computer to another. This article guides the find full path of your current directory using pwd SSH command.

SSH provides authentication by using the private key. It is the root access to your account from the remote system in a secured manner. SSH access is enabled for VPS and dedicated server.

How to find the Full Path of your Current Directory using SSH?

The following SSH command used to find the full path of the current directory

SSH command: pwd

The pwd SSH command stands for print working directory. This command is frequently used on Linux, AIX, HP-UX, *BSD, and another UNIX like operating system.

Using SSH, log into the server and run the command pwd to know the full path of the current directory.

This command will help you to make sure that you are editing the right file. When you are working on files with identical names in different folders, this command will help to ensure the right one.

Tagged in: