pwd Linux Commands

What is Linux pwd Command?

Explanation

pwd COMMAND:

pwd - Print Working Directory. pwd command prints the full filename of the current working directory.

SYNTAX :


pwd [options]

OPTIONS:


-P The pathname printed will not contain symbolic links.
-L The pathname printed may contain symbolic links.

EXAMPLE:


  1. Displays the current working directory.
    pwd

    If you are working in home directory then, pwd command displays the current working directory as /home.

Ask Questions

Ask Question