-
Contributing Member
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.
-
Expert Member
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
-
Contributing Member
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules