Results 1 to 4 of 4
HI Frndz,
I halted with a doubt I used to know that there are different types of shell's in RHEL
What's the difference between the shell's and use of the ...
- 08-06-2009 #1Linux Newbie
- Join Date
- Aug 2008
- Posts
- 119
Difference between Shell's
HI Frndz,
I halted with a doubt I used to know that there are different types of shell's in RHEL
What's the difference between the shell's and use of the shell's?
Please any one help me about this..........
Thanking You
- 08-06-2009 #2
Different shells can have different capabilities, different syntax, different commands. Think of it like, what's the difference between Firefox and Opera? They're both web browsers, but obviously, they can do things quite differently.
However, many of the different shells are related, and so share many commonalities.
BASH is the most common linux shell.
Bash - Wikipedia, the free encyclopedia
Zsh is very popular as well, and has some more advanced options.
Z shell - Wikipedia, the free encyclopedia
- 08-07-2009 #3Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
Historical imperative and porting. A lot of software for Unix/Linux systems are shell scripts of one sort or another. Although the default shell for Linux is bash, a derivative of the standard Unix shell (sh) with many features from the Korn shell (ksh), it also supports the C shell (csh), Korn shell, standard shell, and others. I used to prefer the C shell because of all my work on Solaris and other Unix systems, but mostly I use bash these days.
So, scripts that have been ported from Unix systems that use either sh, ksh, or csh (the most common shells on Unix) can be run often without modification on Linux as well.Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 05-23-2011 #4Just Joined!
- Join Date
- May 2011
- Posts
- 1
I came across a link which provide answer for this thread.Since i cannot post any link here is the comparison
- sh csh ksh bash tcsh zsh rc es
- Job control N Y Y Y Y Y N N
- Aliases N Y Y Y Y Y N N
- Shell functions Y(1) N Y Y N Y Y Y
- "Sensible" Input/Output redirection Y N Y Y N Y Y Y
- Directory stack N Y Y Y Y Y F F
- Command history N Y Y Y Y Y L L
- Command line editing N N Y Y Y Y L L
- Vi Command line editing N N Y Y Y(3) Y L L
- Emacs Command line editing N N Y Y Y Y L L
- Rebindable Command line editing N N N Y Y Y L L
- User name look up N Y Y Y Y Y L L
- Login/Logout watching N N N N Y Y F F
- Filename completion N Y(1) Y Y Y Y L L
- Username completion N Y(2) Y Y Y Y L L
- Hostname completion N Y(2) Y Y Y Y L L
- History completion N N N Y Y Y L L
- Fully programmable Completion N N N N Y Y N N
- Mh Mailbox completion N N N N(4) N(6) N(6) N N
- Co Processes N N Y N N Y N N
- Builtin artithmetic evaluation N Y Y Y Y Y N N
- Can follow symbolic links invisibly N N Y Y Y Y N N
- Periodic command execution N N N N Y Y N N
- Custom Prompt (easily) N N Y Y Y Y Y Y
- Sun Keyboard Hack N N N N N Y N N
- Spelling Correction N N N N Y Y N N
- Process Substitution N N N Y(2) N Y Y Y
- Underlying Syntax sh csh sh sh csh sh rc rc
- Freely Available N N N(5) Y Y Y Y Y
- Checks Mailbox N Y Y Y Y Y F F
- Tty Sanity Checking N N N N Y Y N N
- Can cope with large argument lists Y N Y Y Y Y Y Y
- Has non-interactive startup file N Y Y(7) Y(7) Y Y N N
- Has non-login startup file N Y Y(7) Y Y Y N N
- Can avoid user startup files N Y N Y N Y Y Y
- Can specify startup file N N Y Y N N N N
- Low level command redefinition N N N N N N N Y
- Has anonymous functions N N N N N N Y Y
- List Variables N Y Y N Y Y Y Y
- Full signal trap handling Y N Y Y N Y Y Y
- File no clobber ability N Y Y Y Y Y N F
- Local variables N N Y Y N Y Y Y
- Lexically scoped variables N N N N N N N Y
- Exceptions N N N N N N N Y
Key to the table above.
Y Feature can be done using this shell.
N Feature is not present in the shell.
F Feature can only be done by using the shells function
mechanism.
L The readline library must be linked into the shell to enable
this Feature.


