?
Solved

shell

Posted on 2000-04-29
2
Medium Priority
?
447 Views
Last Modified: 2010-04-20
What is the different of different shell ?? (for example: bash and sh, ash, csh ... and more)
0
Comment
Question by:ahchong
2 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 60 total points
ID: 2762323
There are really only two main shell types, those descended from and generally compatible with sh and those descended from csh. The first group includes sh, bash, ksh, etc and the second group includes csh and tcsh. Shells descended from one of the types (bash, ksh from sh) incorporate features that weren't in the parent type, like command line editing and additional shell commands. The main difference between the two types is the command set used. For example to set an env variable in "sh like" shells you'd do:

>VAR=something; export VAR
   --or in other than sh---
>export VAR=something

whereas in "csh like" shells you'd do:

>setenv VAR something

If you read the man pages for a couple of the shells (say bash & csh) it should be very obvious how they differ.

0
 

Author Comment

by:ahchong
ID: 2854060
Comment accepted as answer
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have written articles previously comparing SARDU and YUMI.  I also included a couple of lines about Easy2boot (easy2boot.com).  I have now been using, and enjoying easy2boot as my sole multiboot utility for some years and realize that it deserves …
Often times it's very very easy to extend a volume on a Linux instance in AWS, but impossible to shrink it. I wanted to contribute to the experts-exchange community a way of providing a procedure that works on an AWS instance. It can also be used on…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month14 days, 11 hours left to enroll

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question