Prepare for your Next Interview
This is a discussion on Difference in UNIX Shell within the Unix/Linux forums, part of the Operating Systems category; A brief idea about the distinction or differences between the UNIX shells sh and csh is needed. Can someone throw highlight on this....
|
|||
|
Difference in UNIX Shell
A brief idea about the distinction or differences between the UNIX shells sh and csh is needed. Can someone throw highlight on this.
|
| The Following User Says Thank You to scott For This Useful Post: | ||
| Sponsored Links |
|
|||
|
Re: Difference in UNIX Shell
Some of the differences between sh and csh are:
The default prompt of sh is $ and that of csh is % In sh $HOME represents home directory while in csh $home represents home directory End of loop statement in sh is done while that of csh is end |
|
|||
|
Re: Difference in UNIX Shell
To add to this discussion some more differences between sh and csh are:
End of if statement is denoted as fi is sh while it is represented as endif in csh To print the working directory in sh the command used is pwd while in csh the command used is dirs Exit status is represented as $?. In sh while it is represented as $status in csh Hope that there are some differences and let us wait to get to know all that in this discussion. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Popular Shell in Linux | norman | Unix/Linux | 1 | 09-25-2007 07:25 AM |
| Unix ftp | timmy | Unix/Linux | 1 | 07-13-2006 09:57 PM |
| Is there any difference between inFile and getline | norman | C and C++ | 1 | 07-12-2006 04:37 PM |
| Difference in these UNIX commands | RyanJames | Unix/Linux | 4 | 07-12-2006 03:00 PM |
| Difference between stat, fstat, lstat | fred | C and C++ | 2 | 06-29-2006 08:02 PM |