Tuesday, 23 June 2009

Paths and Environment

To Display your environment settings;

printenv

Add a path;

export PATH=$PATH:/your/new/path

Put this in .bashrc to create a “path” command;

alias path='echo -e ${PATH//:/\\n}'

No comments: