SSH pwd command

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.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Linux tar Command

The Linux tar command is used to compress and extract files to and from an archive. In this...

How to Install WordPress via SSH

Since WordPress is the most widely used CMS it’s installation process has been made as simple and...

SSH Execute Command on a Remote server

Via SSH you can connect to a remote server’s shell. This will allow you to execute commands on...

How to connect to your shared hosting account via SFTP with FileZilla

SFTP is a convenient way to use SSH, while also using the interface of a simple FTP. In order to...

SSH netstat command

If you wish to debug or track statistics of your network in a Linux environment you can use SSH...