Solved

shell

Posted on 2000-04-29
2
434 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 15 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

Monthly Recap

May was a big month for new releases from Linux Academy! Take a look at what our team built recently in our blog. You can access the newest releases from our blog.

Question has a verified solution.

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

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

724 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