What goodies are present in UNIX shells without BASH?

I have been using 'bash' since I used Unix-Linux / Solaris. Now I am interested to know that it is better to use shells such as "ksh", "zsh"? What do geeks do?

+5
source share
8 answers

I partially relate to zsh (it's like a mixture of ksh and bash). The guide has a good overview of its features. This page has a nice graph showing the availability of various functions in different shells.

+5
source
  • bash: , bash, , Linux-.

  • ksh: Solaris ksh , , -, bash.

  • csh: Csh , tcsh. tcsh , c.

  • zsh: zsh, , , .

bash, UNIX , .

+3

Bash , Unix, .

Zsh - . ,

+2

ksh93 . , ksh , , 98% .

+1

bash , , FSF, . ksh93, bash. ksh , C. , , , , . , ; .

csh : -)

+1

, Unix- ( , , csh, sh, ksh), , , bash. , , , bash , .

OTOH, , , , ksh, POSIX - (bash POSIX, ).

POSIX $(cmd) back-ticks

`cmd`

( Markdown!). , , , :

gcclib=$(dirname $(dirname $(which gcc)))/lib

, . ksh bash; Bourne (/bin/sh, , /bin/sh Bourne, bash ), C.

+1

bash, , . . , : Bourne Again SHell. , C-Shell (, tcsh), /bin/sh ( ), csh (, ..).

Korn bash , , . /bin/sh, Korn AT & T . , , , . /bin/sh /bin/csh. ksh, , . Solaris, Sun. , , , .

bash, zsh. zsh - ( - Bourne).

, C-, , /bin/csh, /bin/csh.

+1

, .

, , - . .

0

All Articles