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

0
93
Full Path of the Directory
Full Path of the Directory Graphical Illustration

SSH:

SSH, otherwise called Secure Socket Shell, 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.

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 full path of the current directory can be easily identified by simply running a command.

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.

LEAVE A REPLY

Please enter your comment!
Please enter your name here