Tcsh: Difference between revisions
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
Tcsh has two main configuration files either ~/.tcshrc or ~/.cshrc in addition to the ones provided by the operating system. It will source ~/.tcshrc first if it is found and if not then ~/.cshrc. | Tcsh has two main configuration files either ~/.tcshrc or ~/.cshrc in addition to the ones provided by the operating system. It will source ~/.tcshrc first if it is found and if not then ~/.cshrc. | ||
Please the [[MAN]] page by typing <code>man tcsh</code> for a complete explanation of features or see the online [http://www.tcsh.org/tcsh.html/top.html TCSH] | Please the [[MAN]] page by typing <code>man tcsh</code> for a complete explanation of features or see the online [http://www.tcsh.org/tcsh.html/top.html TCSH] documentation. | ||
=Paths= | =Paths= |
Revision as of 14:44, 28 September 2011
Confiruation Files
Tcsh has two main configuration files either ~/.tcshrc or ~/.cshrc in addition to the ones provided by the operating system. It will source ~/.tcshrc first if it is found and if not then ~/.cshrc.
Please the MAN page by typing man tcsh
for a complete explanation of features or see the online TCSH documentation.
Paths
You can see your current paths (colon separated list) by the typing the following in your terminal.
echo $PATH
You can add additional paths by using the following command
setenv PATH ${PATH}:/my/new/path
By moving around the ${PATH} you can put the path at the front of the list or the back as the programs are looked up left to right in the path.