The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 09-02-2001
rwb1959's Avatar
rwb1959 rwb1959 is offline
Registered User
 

Join Date: Aug 2001
Location: Virginia, USA
Posts: 438
depending on the shell you use, you can
edit your .profile, .bash_profile, .cshrc,
.bashrc, or .kshrc file(s) and modify you PATH
variable in "append" what ever you like to the
existing information.

I would recommend you get a book on the
particular shell you are using (sh, ksh, csh or bash). It will prove invaluable.

example entry in .profile:

# Append the "bin" directory in my home
# directory to my system default path
PATH=$PATH:$HOME/bin
export PATH