LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 05-04-2007, 03:15 PM   #1
WOP1337
Member
 
Registered: Jul 2006
Location: Tustin, CA
Distribution: Slackware
Posts: 40

Rep: Reputation: 15
should you know other shells then bash?


I'm not really a newbie with linux or the command shell. I even prefer cli vs gui but I do only know the bash shell. If that makes me newbie then alright

I would like to know if I should bother learning the other shells like c shell, tch, and others like that. I do plan on maintaining linux/unix servers in the future. Bash shell is by far the dominant shell by far as anyone knows so I really see a reason at this moment.
 
Old 05-04-2007, 03:54 PM   #2
buggabill
Member
 
Registered: Jun 2006
Location: Maine, USA
Distribution: Kubuntu 8.10/Debian Lenny
Posts: 30

Rep: Reputation: 15
There is no harm in learning them. I was only familiar with Bash until I started my current job. I use the korn shell on AIX there. I do not think that it is a bad thing to learn some different shells...just in case...
 
Old 05-04-2007, 03:59 PM   #3
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
It definitely would not hurt you. I used bash for years, but after trying zsh , I find myself using it more than bash. I also like fish and csh.
 
Old 05-04-2007, 04:47 PM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,482

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
I use ksh93 everywhere I can and often install its latest version if missing.

When writing shell scripts, I try to stick to POSIX when reasonable to avoid anything specific to particular shell and other commands implementations.
 
Old 05-04-2007, 05:00 PM   #5
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora, Lubuntu, FreeBSD
Posts: 3,930
Blog Entries: 5

Rep: Reputation: Disabled
Quote:
should you know other shells then bash?
Agree with others - it never hurts to learn new things.

Bash is the standard shell for every GNU/Linux distro I've used. It's on the / filesystem (/bin/bash - unless you've made some poor partitioning and mounting decisions). If you ever get into a jam and have to enter single-user mode you will have access to it.

Just keep in mind this is not necessarily the case for other unix / unix-like systems. If you intend to work with non-Linux systems, it probably would be a good idea to familiarize yourself somewhat with their default shell(s) in case you ever need to use it in an emergency.
 
Old 05-04-2007, 07:55 PM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
I may be swimming upstream, but...
Why would you learn any computer language unless you had discovered a need for it? Especially with shells, the test I would use is simply whether there was something I could not do with learning a new shell.
Engineers are constantly having to remind each other what problem they are trying to solve.....
 
Old 05-05-2007, 12:05 AM   #7
reverse
Member
 
Registered: Apr 2007
Distribution: Gentoo
Posts: 337

Rep: Reputation: 30
Quote:
Bash shell is by far the dominant shell by far as anyone knows so I really see a reason at this moment.
That's probably because of the recent growth of Linux users and the fact that most (all?) Linux distributions sport Bash as the default shell. However, you've said "linux/unix". FreeBSD, for example, doesn't use Bash as it's default shell. It's even discouraged to change root's shell to anything other than default (which is tcsh IIRC). So there *would be* situations under certain unices when, if you'd want to do things the right way, you'd be forced to use non-Bash shells.
 
Old 05-06-2007, 10:10 AM   #8
shawnbishop
Member
 
Registered: Dec 2005
Location: South Africa
Distribution: CentOS,Ubuntu,Fedora
Posts: 249

Rep: Reputation: 30
Hi

A nice shell to use is "fish", if you like eye candy..try it
 
Old 05-06-2007, 08:30 PM   #9
SlowCoder
Member
 
Registered: Oct 2004
Location: Southeast, U.S.A.
Distribution: Fedora (Desktop), CentOS (Server), Knoppix (Diags)
Posts: 934

Rep: Reputation: 38
Quote:
Originally Posted by pixellany
I may be swimming upstream, but...
Why would you learn any computer language unless you had discovered a need for it? Especially with shells, the test I would use is simply whether there was something I could not do with learning a new shell.
Engineers are constantly having to remind each other what problem they are trying to solve.....
As the original poster stated, he's planning to support more distributions in the future. In his case, it would be a good idea to learn what he thinks he needs to survive, especially if he's planning to support a currently unknown pool of unix/linux boxes.

Of course, a general linux user, who uses their box as a desktop, and if bash works for them, there's no need to learn a different shell.

So I guess it depends on the general direction you're taking linux.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
editing /etc/shells to only allow bash omg-ffs Linux - Newbie 3 12-05-2004 03:20 PM
Bash and login shells Adrohak Linux - Software 3 11-18-2004 10:21 AM
Is this a bug? (BASH and Z shells) KingofBLASH Linux - Software 4 09-14-2004 06:14 PM
wait in bash shells raypen Linux - Software 1 04-18-2003 02:19 PM
bash and other linux shells crealkiller175 Linux - General 9 03-02-2003 03:02 PM


All times are GMT -5. The time now is 12:56 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration