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

Wednesday, 14 November 2012

Get current directory path

CURRENTDIR=`pwd`
echo $CURRENTDIR
#will print the current directory

Note: note the ` char.