dallyingllama b3368db4e3 add pwd to bash guide, very common (#27341)
* add pwd to bash guide, very common

* updated the home directory path
2019-03-11 07:31:09 -07:00

546 B

title
title
Bash pwd

Bash pwd

pwd or 'print working directory' is a command on Unix-like operating systems to show you which directory you are currently in.

Usage

pwd

You can see the directory you are in.

Most used options: It is normally used without any options.

Example:

Determine which directory you are in.

$ pwd
/users/username

It looks like we are in the home directory.

More Information: