stuart-d2
4/6/2015 - 3:43 PM

BASH : Variables

BASH : Variables

Setting current directory path to a variable
		1. x=$(pwd)
		2. cd $x
Another example, I am in a deeply nested directory, 
I store it in a variable so I can call the path from anywhere: 
		1.  hypnoImages=$(pwd)
    2.  cd $hypoImages