Tcsh: Difference between revisions
Jump to navigation
Jump to search
(→Paths) |
|||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
= | =Configuration 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. | 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 | Please type <code>man tcsh</code> for a complete explanation of features or see the online [http://www.tcsh.org/tcsh.html/top.html TCSH] documentation. | ||
To change your shell, see [[shell]] | |||
=Paths= | =Paths= |
Latest revision as of 18:00, 21 April 2016
Configuration 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 type man tcsh
for a complete explanation of features or see the online TCSH documentation.
To change your shell, see shell
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.