Thursday, 29 January 2015

path

Path:

Program files (executables) are kept in many different places on the Unix system. Your path tells the Unix shell where to look on the system when you request a particular program.

To find out what your path is, at the Unix shell prompt, enter:
  echo $PATH
 
 
 
 

To modify your path

If you are using csh or tcsh, at the shell prompt, enter:

setenv PATH $PATH\:/dir/path

If you are using sh, ksh, or bash, at the shell prompt, enter:

PATH=$PATH\:/dir/path ; export PATH
 
 
 
 
 
 
 
 
 
 
 
  

No comments:

Post a Comment