PWD Command: How to check present working directory in Linux?

Collapse

Unconfigured Ad Widget

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Shane
    Senior Member
    • Jun 2006
    • 264

    PWD Command: How to check present working directory in Linux?

    Hello All,

    In order to check where am I? To check the present working directory in Linux one can execute PWD command. PWD command displays the name of the current working directory. Below mentioned is syntax and example of the command;

    Syntax:
    PWD

    Example:
    pwd - Executing this command at the prompt would give output like:

    /home/accuwebhosting.com/public_html/

    Thanks,

    Shane G.
    AccuWebHosting.Com
    Last edited by admin; 07-30-2015, 07:26 AM.
Working...
X