![]() |
Computer Systems Lab CS1000 |
![]() Wiscinfo |
![]() CS Home |
![]() CSL |
![]() CS1000 |
![]() Feedback |
How does the shell know where to look for the binary of Mosaic when you enter Mosaic? It uses the path variable. The path is a list of directories that the shell searches through from beginning to end (this is important if two binaries with the same name exist in different directories) when a command (program name) is entered. You can examine your path with the command:
vega1% echo $path
The path is determined in your .cshrc (and possibly .cshrc.local file(s). It's set with the command set. If you want to add a directory to your existing path, be sure to include the old path with the new directory. For example if you want to use latex, you should add the directory /s/tex to your path with the command:
vega1% set path = ( $path /s/tex/bin )
If you were to be using latex often, you would want to add this line to your .cshrc.local file.