Posts Tagged With: path

CDPATH

Tagged with: , , , ,

CDPATH is to cd what PATH is to exectable. You can go to a folder inside any of the CDPATH folders by just cd 'folder name' – no mater where you are currently.


export CDPATH='.:~:/var/www/html:~/Scripts'
No Comments »

Set Path

Tagged with: , , , ,

Adding a new folder to the current path…


export PATH=NEW_FOLDER:$PATH
No Comments »

Find Current Path

Tagged with: , , ,

Use this command to find the current path…


echo $PATH
No Comments »