A brief idea about the distinction or differences between the UNIX shells sh and csh is needed. Can someone throw highlight on this.
Printable View
A brief idea about the distinction or differences between the UNIX shells sh and csh is needed. Can someone throw highlight on this.
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
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.