LinuxQuestions.org
Visit the LQ Articles and Editorials section
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

View Poll Results: What is your preferred Linux login shell?
ash 0 0%
bash 282 82.22%
csh 4 1.17%
dash 3 0.87%
es 0 0%
fish 2 0.58%
ksh 17 4.96%
pdksh 2 0.58%
rc 1 0.29%
scsh 0 0%
sh 3 0.87%
tcsh 10 2.92%
wish 0 0%
zsh 14 4.08%
Other 5 1.46%
Voters: 343. You may not vote on this poll

Reply
 
Search this Thread
Old 06-17-2014, 04:43 PM   #1
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 10,352

Rep: Reputation: 2616Reputation: 2616Reputation: 2616Reputation: 2616Reputation: 2616Reputation: 2616Reputation: 2616Reputation: 2616Reputation: 2616Reputation: 2616Reputation: 2616
What is your preferred Linux login shell?


Based on feedback in this thread, the official LQ polls continue. What is your preferred Linux login shell?

--jeremy
 
Old 06-17-2014, 04:57 PM   #2
cyent
Member
 
Registered: Aug 2001
Location: ChristChurch New Zealand
Distribution: Ubuntu
Posts: 245

Rep: Reputation: 43
eshell (emacs shell)
 
Old 06-17-2014, 05:20 PM   #3
cyent
Member
 
Registered: Aug 2001
Location: ChristChurch New Zealand
Distribution: Ubuntu
Posts: 245

Rep: Reputation: 43
So I have been forced by the need to work with Yocto / OpenEmbedded to learn enough bash to really grok what it is.....

a) It is actually a very small language.
b) As a Programming Language, it is truly awful. Please folks, just stop writing *sh scripts. Now.
c) There is a bunch of command line typing convenience stuff layered and interwingled on top of it. I suspect that stuff could be made more orthogonal and layered properly on top of a decent language.
 
Old 06-17-2014, 06:39 PM   #4
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Debian, SL
Posts: 5,202

Rep: Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120
Hi,

thanks for specifying "login shell" instead of just "shell", which is way too vague.

Evo2.
 
Old 06-17-2014, 07:11 PM   #5
jemartins
LQ Newbie
 
Registered: Aug 2006
Posts: 1

Rep: Reputation: 0
====
bash
====
 
Old 06-17-2014, 07:25 PM   #6
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Debian, SL
Posts: 5,202

Rep: Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120
Hi,

maybe a follow up question would be interesting - what login shells have you used? Presumably bash is the preferred login shell of the majority of LQ members because it is the default on the majority of distros of LQ members.

Evo2.
 
Old 06-17-2014, 07:36 PM   #7
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 7,573

Rep: Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433
evo2 nailed me.

I use bash because it is the standard. I've never been moved to try anything else.
 
Old 06-17-2014, 07:40 PM   #8
astrogeek
Senior Member
 
Registered: Oct 2008
Distribution: Slackware: 12.1, 13.1, 14.1, 64-14.1, -current, FreeBSD-10
Posts: 1,743

Rep: Reputation: 597Reputation: 597Reputation: 597Reputation: 597Reputation: 597Reputation: 597
Yea, bash, because its there...

**UPDATED**

That seemed a little dismissive. In fairness:
* Originally because it was there
* Now because it is familiar
* It has become familiar because it really is an excellent login shell!

Last edited by astrogeek; 06-17-2014 at 08:10 PM.
 
Old 06-17-2014, 10:01 PM   #9
ron7000
Member
 
Registered: Nov 2007
Location: CT
Posts: 53
Blog Entries: 1

Rep: Reputation: 16
tcsh FTW !
 
1 members found this post helpful.
Old 06-17-2014, 10:19 PM   #10
Toadbrooks
Member
 
Registered: Jul 2008
Distribution: Linux Mint 16
Posts: 63

Rep: Reputation: 3
Quote:
Originally Posted by evo2 View Post
maybe a follow up question would be interesting - what login shells have you used? Presumably bash is the preferred login shell of the majority of LQ members because it is the default on the majority of distros of LQ members.
Valid point. I've been doing Unix since 1984. I've used sh, ksh, zsh, csh, tcsh, and bash. Prior to bash, my favorite was ksh. I suppose I like bash because it's pretty much like ksh with a few extra features.
 
Old 06-17-2014, 11:35 PM   #11
KenJackson
Member
 
Registered: Jul 2006
Location: Maryland, USA
Distribution: Fedora, Arch
Posts: 572

Rep: Reputation: 64
Quote:
Originally Posted by cyent View Post
a) It is actually a very small language.
b) As a Programming Language, it is truly awful. Please folks, just stop writing *sh scripts. Now.
Yes, it is a language! Being thoroughly fluent in Bash script, I find it extremely convenient in spite of its idiosyncrasies. It's convenient because it's always right there at my fingertips.

In fact, I'm frequently frustrated that this reply box doesn't understand CTRL-A, CTRL-E, CTRL-D and ALT-D like Bash.
 
Old 06-17-2014, 11:49 PM   #12
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Debian, SL
Posts: 5,202

Rep: Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120
Hi,
Quote:
Originally Posted by Toadbrooks View Post
Valid point. I've been doing Unix since 1984. I've used sh, ksh, zsh, csh, tcsh, and bash. Prior to bash, my favorite was ksh. I suppose I like bash because it's pretty much like ksh with a few extra features.
I was dumped in tsch on DEC and Solaris machines in the mid to late 90s. When I started using Linux in the early 00s I persisted with tcsh since that's what I was used to. I was however told from the beginning that I should not use csh/tsch for scripts, so I was used to looping and branching in sh but not in csh. I'd find myself sometimes typing "bash" at my tcsh prompt to do some things, which after a while lead me to actually trying bash as my login shell. It took me a while to get it set up how I liked it, but once there I was very happy. Around this time I noticed that some of the wizards were using zsh, a few years later I gave it a try and again, after getting it set up to my liking I've been very happy with - the transition from bash to zsh is trivial compared to tcsh to bash.

Evo2.
 
Old 06-17-2014, 11:53 PM   #13
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Debian, SL
Posts: 5,202

Rep: Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120
Hi,
Quote:
Originally Posted by cyent View Post
Please folks, just stop writing *sh scripts. Now.
I guess you don't spend much time on the command line. What scripts in particular do you want people not to write?

Evo2
 
1 members found this post helpful.
Old 06-18-2014, 12:14 AM   #14
astrogeek
Senior Member
 
Registered: Oct 2008
Distribution: Slackware: 12.1, 13.1, 14.1, 64-14.1, -current, FreeBSD-10
Posts: 1,743

Rep: Reputation: 597Reputation: 597Reputation: 597Reputation: 597Reputation: 597Reputation: 597
Quote:
Originally Posted by cyent View Post
So I have been forced by the need to work with Yocto / OpenEmbedded to learn enough bash to really grok what it is.....

a) It is actually a very small language.
b) As a Programming Language, it is truly awful. Please folks, just stop writing *sh scripts. Now.
c) There is a bunch of command line typing convenience stuff layered and interwingled on top of it. I suspect that stuff could be made more orthogonal and layered properly on top of a decent language.
Not wanting to engage in another pointless discussion, I ignored this when I first saw it... but since others have also taken note, my own two cents...

Quote:
a) It is actually a very small language.
No, it is actually a "shell", a command line interpreter which reads user input and executes commands. It also supports a variant of a powerful scripting language useful within that context.

Quote:
b) As a Programming Language, it is truly awful. Please folks, just stop writing *sh scripts. Now.
It is not a general purpose programming language, it is a special purpose language which supports direct user interaction with the kernel as well as deferred (scripted) execution, all with the same syntax. As such it is very specialized, but very useful for its intended purpose.

Quote:
c) There is a bunch of command line typing convenience stuff layered and interwingled on top of it. I suspect that stuff could be made more orthogonal and layered properly on top of a decent language.
Your understanding of what it is, what it does and why it is as it is, are exactly backward! It is an interactive command interpreter first, with an extended scripting syntax as one component.

As you indicate that you have been forced to work with it, and are obviously not knowledgable within the *nix paradigm, you view it negatively. It would be more useful to try to understand the how and why of it rather than criticize that which you do not understand.
 
6 members found this post helpful.
Old 06-18-2014, 01:01 AM   #15
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 13.1 / 12.3_64-KDE, Ubuntu 14.04, Fedora 20, Mint 17, Chakra
Posts: 3,653

Rep: Reputation: Disabled
Hmm. Hmhm. I usually do a graphical login with kdm. What do I vote then? Jeremy?

When I go to a console I use bash since it is the default. When I have time (during retirement perhaps ) I should like to learn scripting and also try zsh.

Last edited by JZL240I-U; 06-18-2014 at 08:34 AM.
 
  


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
Preferred central login server? szboardstretcher Linux - Server 0 03-20-2014 07:45 PM
Which Is Your Preferred Linux Shell? jeremy Linux - General 47 01-10-2014 07:55 PM
Login Shell / Non-Login shell Clarification needed (RHEL 6.3) kingston Linux - Newbie 1 12-07-2012 12:51 AM
Preferred distribution for c and shell programming? Its All in your Head Linux - Distributions 3 07-07-2007 03:37 PM


All times are GMT -5. The time now is 09:20 AM.

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