LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 287 81.77%
csh 4 1.14%
dash 3 0.85%
es 0 0%
fish 2 0.57%
ksh 18 5.13%
pdksh 2 0.57%
rc 1 0.28%
scsh 0 0%
sh 3 0.85%
tcsh 10 2.85%
wish 0 0%
zsh 16 4.56%
Other 5 1.42%
Voters: 351. You may not vote on this poll

Reply
  Search this Thread
Old 06-18-2014, 08:58 AM   #46
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886

Quote:
Originally Posted by Langjan View Post
What is a Linux login shell?
The login shell is that shell that comes up when you either login on the commandline or start a terminal emulator on the GUI.
There are also other types of shells, for example the system shell, which for example is Dash on Debian, because nit is faster for non-interactive purposes.

I personally use Zsh, mostly because its superior completion (compared with the shells I used already), very good globbing features (which often times make the use of complex find commands unnecessary) and because it is easily extensible.

Zsh with syntax highlighting, in Vi mode with status indicator in a prompt on the right side, showing off a very simple globbing example and completion: http://slackeee.de/stuff/zsh.png

Last edited by TobiSGD; 06-18-2014 at 09:20 AM.
 
Old 06-18-2014, 09:07 AM   #47
oldwierdal
Member
 
Registered: Apr 2009
Location: Yuma, Arizona, USA
Distribution: Linux Mint 17 with Mate DE
Posts: 58
Blog Entries: 1

Rep: Reputation: 4
Bash
 
Old 06-18-2014, 09:30 AM   #48
stealthpaladin
LQ Newbie
 
Registered: Jun 2014
Posts: 3

Rep: Reputation: Disabled
Favorite login shell: tcsh and close runner up, plain sh

Liked login shells: tcsh, csh, sh

Used login shells: tcsh, csh, sh, bash, dash (dash as interactive non-login)
 
Old 06-18-2014, 10:13 AM   #49
texadactyl
LQ Newbie
 
Registered: Apr 2014
Location: Dallas TX, USA , 3rd Rock, Sol
Distribution: Xubuntu, Raspbian
Posts: 6

Rep: Reputation: Disabled
bash - more powerful than its ancestor /bin/sh (circa 1969) yet lightweight and flexible. Enduring standard although scripting is shifting to python, more and more, for better and worse.
 
Old 06-18-2014, 10:32 AM   #50
maljak
LQ Newbie
 
Registered: Sep 2008
Posts: 1

Rep: Reputation: 0
bash
 
Old 06-18-2014, 11:43 AM   #51
johnniedoo
Member
 
Registered: Jun 2014
Location: USA
Distribution: MINT17.3 Mate, Cinnamon , Mint MATE 18.1
Posts: 73

Rep: Reputation: Disabled
only used bash, never heard of the other ones. not surprising in the 3 or 4 days of mint use
 
Old 06-18-2014, 12:03 PM   #52
KenJackson
Member
 
Registered: Jul 2006
Location: Maryland, USA
Distribution: Fedora and others
Posts: 757

Rep: Reputation: 145Reputation: 145
Quote:
Originally Posted by serendipity7000 View Post
Actually, I have no idea what it is - am obviously very green!
Here are some ways you can find out. Type in any one of these commands at the shell command line.
Code:
grep $USER: /etc/passwd
echo $SHELL
echo $0
But if you're running a recent version of Linux and no one went out of his way to change it, you're almost undoubtedly running bash (and for good reason, as these poll results suggests).
 
Old 06-18-2014, 12:12 PM   #53
Hackerit
LQ Newbie
 
Registered: Jun 2014
Location: LinuxLand
Distribution: Debian
Posts: 3

Rep: Reputation: Disabled
Shell I prefer

RedAssShell from RedAss.com for all Distros
 
Old 06-18-2014, 12:28 PM   #54
Langjan
LQ Newbie
 
Registered: Nov 2011
Posts: 28

Rep: Reputation: Disabled
Serendipity7000, us newbies will just have to stay out in the cold, I wonder if all these posters actually know what it's about, seeing nobody seems anble to tell us!
 
Old 06-18-2014, 12:31 PM   #55
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,143

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
The result here is a foregone conclusion: most of us use what we're given. The only Linux I can remember defaulting to anything other than bash is Arios, which uses zsh.

I used to love the shell on my Sinclair QL, full of mysterious things like "dup" (i.e. "cd ..") and the ability to set keyboard shortcuts in my boot script with commands like
ert hot_cmd(x, "prog_use 'win1_psion_' : ex xchange_exe")
to get Alt-x to run the office suite.
 
Old 06-18-2014, 12:41 PM   #56
b4rbz
LQ Newbie
 
Registered: Feb 2014
Distribution: Ubuntu 13.10
Posts: 5

Rep: Reputation: Disabled
Bash, of course. It's familiar and powerful. I've never found a need for anything else to be honest.
 
Old 06-18-2014, 12:49 PM   #57
randomgrace
LQ Newbie
 
Registered: Apr 2014
Posts: 1

Rep: Reputation: Disabled
Preferred login shell

bash OR tcsh - I use both interchangeably.
 
Old 06-18-2014, 01:01 PM   #58
drackmere
LQ Newbie
 
Registered: May 2014
Posts: 1

Rep: Reputation: Disabled
Definitely bash.
 
Old 06-18-2014, 01:05 PM   #59
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
I like zsh. Grab an Arch ISO and boot into it, Arch by default uses zsh. Very nice.
 
Old 06-18-2014, 01:26 PM   #60
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,269
Blog Entries: 24

Rep: Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196
Quote:
Originally Posted by Langjan View Post
Serendipity7000, us newbies will just have to stay out in the cold, I wonder if all these posters actually know what it's about, seeing nobody seems anble to tell us!
HAHA! The difficulty for old salts who spend their days in a shell trying to explain "what it is" to you greenies, is that there is no common frame of reference to make such an explanation meaningful!

By analogy, consider if someone who has only ever travelled by train were to make a visit to a formula 1 pit area. Fascinated by the unfamiliar machines, they ask the driver, "What is this round thing? What does it do?", referring to the steering wheel. The experienced driver may reply, "It allows me to control where the car goes.", but that hardly tells the train rider anything useful about the importance of the wheel to the complex interaction between driver and car at speed on the track!

So please don't think the old timers unhelpful, just stay in the driver's seat long enough and it will all become clear!

Last edited by astrogeek; 06-18-2014 at 01:28 PM.
 
2 members found this post helpful.
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:46 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration