Solved

shell

Posted on 2000-04-29
2
392 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
Comment Utility
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
Comment Utility
Comment accepted as answer
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
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.:
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…

763 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now