[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

shell

Posted on 2000-04-29
2
Medium Priority
?
444 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 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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…
Suggested Courses
Course of the Month14 days, 17 hours left to enroll

649 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