Difference between revisions of "Tcsh"

From UMIACS
Jump to navigation Jump to search
 
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
=Confiruation Files=
+
=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 the [[MAN]] page by typing <code>man tcsh</code> for a complete explanation of features.
+
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=
Line 13: Line 15:
 
   setenv PATH ${PATH}:/my/new/path
 
   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.
+
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.

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.