Tales of a Dreamer

Entries categorized as ‘technical’

Setting the $PATH environment variable in Linux

July 2, 2008 · 2 Comments

To view the current path, either of the following commands work:

1.
$ echo $PATH

or

2.
$ set | grep PATH

To set the $PATH  environment variable in Linux (add a new directory to the current path while retaining the other directories):

$ export PATH=$PATH:<new_directory>

Below is a sample screen display:

$ echo $PATH
/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/user/bin

$ export PATH=$PATH:/home/user/temp
$ echo $PATH
/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/user/bin:/home/user/temp

Categories: linux
Tagged: , ,

Telnet resources

June 11, 2008 · Leave a Comment

Categories: Telnet · technical
Tagged:

removing the sticky tag from a file checked out from CVS

September 19, 2007 · Leave a Comment

cvs update -A <filename>

this command and other handy CVS commands can be found in http://www.idevelopment.info/data/Programming/change_management/unix_cvs/PROGRAMMING_CVS_Commands.shtml.

Categories: CVS