Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
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 | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Popular Shell in Linux | norman | Unix/Linux | 1 | 09-25-2007 08:25 AM |
| Unix ftp | timmy | Unix/Linux | 1 | 07-13-2006 10:57 PM |
| Is there any difference between inFile and getline | norman | C and C++ | 1 | 07-12-2006 05:37 PM |
| Difference in these UNIX commands | RyanJames | Unix/Linux | 4 | 07-12-2006 04:00 PM |
| Difference between stat, fstat, lstat | fred | C and C++ | 2 | 06-29-2006 09:02 PM |