PATH

From Yefu's notes
Jump to: navigation, search

Summary

A fundimental administration task is adding directories to the execution paths of one or more users. The basic code to do so is: PATH=$PATH:/data/myscripts export PATH Place that code, or whatever part of that code isn't already incorporated, in one of the following places:

User Class Script to modify One user $HOME/.bash_profile All users except root /etc/profile root /root/.bash_profile