The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 03-24-2002
AtleRamsli AtleRamsli is offline
Registered User
  
 

Join Date: Feb 2002
Location: Brabant, Belgium
Posts: 65
There are two files that concern (t)csh:

/etc/csh.cshrc
and
/etc/csh.login

This is where you set up global stuff.

In each directoy, there are files like

.login

and one more ...?

OBS: Syntax for setting PATH is somewhat different:

setenv PATH "${PATH}:/moreppaths:/even/more/paths"

Also, syntax for loops and tests are different from BASH:

if ( test here ) then
....

foreach i ( spec here )
...
end
endif

More OBS: Do NOT let that put you off!

Atle

PS {
Good to know that people still enquire about csh.
It really is a good and simple shell for scripting.
}

Last edited by AtleRamsli; 03-24-2002 at 10:09 AM..