Solved

shell

Posted on 2000-04-29
2
413 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 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

803 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