PWD is not short for PASSWORD

PWD is not short for PASSWORD

Aug 21, 2012

workingdirectory_ubuntu_pwd

PWD is not short for PASSWORD, it may seem like it but in Linux and therefore Ubuntu, PWD stands for “print working directory” and that is exactly what this command is going to do, display the name of the current working directory ( the current directory you are in )  on Ubuntu’s Terminal, printing the full path on the results. just like Breadcrumbs on webpages.

You can check your present working directory in title bar of Gnome Terminal’s window

daemon@ubuntu:~/Desktop$ pwd

/home/daemon/Desktop

The ~ symbol is shorthand in Linux for your User’s home directory. If you type cd~ you will change back to your home directory. It saves you time from having to type out cd/home/username

If you are more of a visual person, check out this video on how to use the pwd command in UBUNTU

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>