![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Description of Environments Supported By.... | zizu | UNIX for Dummies Questions & Answers | 2 | 02-20-2005 06:52 AM |
| Unix environments for MS Windows | Perderabo | Answers to Frequently Asked Questions | 0 | 02-06-2005 03:20 AM |
| Unix environments to fiddle around with | eloquent99 | UNIX for Dummies Questions & Answers | 1 | 07-03-2003 10:53 PM |
| Declaring variable environments in .cshrc | v_sharda | UNIX for Dummies Questions & Answers | 2 | 09-23-2002 10:25 PM |
| Crontab Environments | SmartJuniorUnix | UNIX for Dummies Questions & Answers | 4 | 05-01-2001 02:14 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
When setting your PATH make sure you add to the appropriate place in your path list....as the PATH list will be searched from start to finish to find the command you are after - so adding to your PATH may need to be at the end of at the beginning - depending if you want this directory to be searched first or last.
export PATH=/usr/bin/new_directory:$PATH (will add to start of path list) export PATH=$PATH:/usr/bin/new_directory(will add to end of path list) Very important if you have a command or fucntion that is stored within two places on your system - and you want to specify which one to use. |
|
||||
|
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.. |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|