Showing posts with label pwd command with example. Show all posts
Showing posts with label pwd command with example. Show all posts

Tuesday, January 4, 2011

pwd command in linux

pwd - Print the full directory path of the current working directory.


Syntax :

pwd [option]


Options : 

pwd command has only two options

--help - To display help message
and
--version - To display the version



Example:

# cd /usr/local/lib/ - brings you to the corresponding directory.
Then by giving pwd command without any option you can see the output like.
/usr/local/lib