LinuxQuestions.org
Review your favorite Linux distribution.
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-27-2014, 02:12 PM   #91
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,263
Blog Entries: 24

Rep: Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194

Quote:
Originally Posted by Gullible Jones View Post
Today bash stopped noticing backslash characters for some reason, so I just switched to mksh...
Are you not the least bit curious to understand why bash would do such a thing, or what the actual cause of the problem might be?

Last edited by astrogeek; 06-27-2014 at 02:13 PM.
 
Old 06-27-2014, 02:55 PM   #92
Gullible Jones
Member
 
Registered: Apr 2011
Posts: 142

Rep: Reputation: 10
No. I may come back to this later, but right now I'd rather have a shell that just worked.

Edit: actually this is more interesting than I thought; I thought it was undocumented shell option behavior, but it did not go away when I reset the shell options to defaults. Scary. I had better look into it.

Thanks.

Last edited by Gullible Jones; 06-27-2014 at 02:58 PM.
 
Old 06-27-2014, 03:09 PM   #93
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,263
Blog Entries: 24

Rep: Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194
Quote:
Originally Posted by Gullible Jones View Post
No. I may come back to this later, but right now I'd rather have a shell that just worked.

Edit: actually this is more interesting than I thought; I thought it was undocumented shell option behavior, but it did not go away when I reset the shell options to defaults. Scary. I had better look into it.

Thanks.
I have to admit it made me curious. Can you give an example of what is happening?

(EDIT: I see that you have opened a thread for this, will follow it there...)

Last edited by astrogeek; 06-27-2014 at 03:16 PM.
 
Old 06-27-2014, 04:31 PM   #94
Norseman01
Member
 
Registered: Nov 2012
Posts: 85

Rep: Reputation: Disabled
Quote:
Originally Posted by evo2 View Post
Hi,

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.
======================

I suspect you just answered to question as to why bash is so popular.

I too used the DEC once upon a time. I found tcsh did not fit my thought processes. I ran the canned programs the company had on it and left it alone otherwise. Just like most people do with Window$. At a point in time I needed to go beyond what the programmers of a specialty of which they knew nothing of had provided. The UNIX on the DEC did not blow up as much as Window$. (These programs were directly responsible for the DEC problems, but could be "blown away" without killing the OS by simply killing the window they were in.) That lead me to researching Unix and Linux. I selected Linux because it fit my "work process" better. It came with a number of shells (front ends). I started with the old standard sh and soon found its limits. csh and others and my idea of how to proceed through a problem clashed. I tried bash and like you said, I tailored it to me and been using it since. It has some serious shortcomings but is 95% effective.

In looking through the comments I get the feeling most of those posting are actually not programmers. I also get the feeling most have not been shown any kind of creative processing process. Thus the lack of understanding of scripting uses. Being able to pilot a process through command line : GUI : command line : and so forth to completion by way of a script is what gives Linux it's power.

This really doesn't belong here but:
... forget the boxes, the lines, the arrows
... use the old fashion Term Paper Outline
... create the steps in a file as comments.
... fill in with the code.
Creating the Outline forces you to think it out. Logically.
and it is easy to follow.

Norseman01

Last edited by Norseman01; 06-27-2014 at 04:35 PM.
 
Old 06-27-2014, 09:22 PM   #95
ivan waite
LQ Newbie
 
Registered: Aug 2013
Posts: 2

Rep: Reputation: Disabled
Smile preferred linux login shell

my preferred login is cinnamon, it is v/well laid out user friendly better than windows obviously. I have used linux for 2decades just love this.
 
Old 06-29-2014, 01:54 PM   #96
bashRocks
LQ Newbie
 
Registered: Jun 2014
Posts: 9

Rep: Reputation: 0
bash bash bash
 
Old 06-30-2014, 08:35 AM   #97
Gullible Jones
Member
 
Registered: Apr 2011
Posts: 142

Rep: Reputation: 10
Quote:
Originally Posted by astrogeek View Post
I have to admit it made me curious. Can you give an example of what is happening?

(EDIT: I see that you have opened a thread for this, will follow it there...)
It was a stray character in /etc/inputrc.

And I'm still sticking with mksh. It's great to have a shell that handles terminal resizes properly, instead of claiming to and failing like bash.
 
Old 06-30-2014, 05:35 PM   #98
KenJackson
Member
 
Registered: Jul 2006
Location: Maryland, USA
Distribution: Fedora and others
Posts: 757

Rep: Reputation: 145Reputation: 145
Quote:
Originally Posted by Gullible Jones View Post
It was a stray character in /etc/inputrc.
Stray characters have caused many weird behaviors (usually in ~/.inputrc). And so have intentional, but incorrect characters. I'm kind of scared to touch it.
 
Old 07-01-2014, 08:41 AM   #99
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
Quote:
Originally Posted by astrogeek View Post
Code:
# PgUp/PgDw cycles trough history only for matching entries
"\e[5~": history-search-backward        # Previous
"\e[6~": history-search-forward         # Next
It works on my machine, but I get two messages like this
Code:
\e[5~:: command not found
\e[6~:: command not found
What might that mean?

Last edited by JZL240I-U; 07-01-2014 at 08:43 AM.
 
Old 07-01-2014, 11:12 AM   #100
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 JZL240I-U View Post
It works on my machine, but I get two messages like this
Code:
\e[5~:: command not found
\e[6~:: command not found
What might that mean?
You have to use the bind command: https://wiki.archlinux.org/index.php...ory_completion
 
1 members found this post helpful.
Old 07-02-2014, 01:31 AM   #101
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
Ahh, yess. Works flawlessly. Thanks, TobiSGD .
 
Old 07-12-2014, 07:52 AM   #102
nigelc
Member
 
Registered: Oct 2004
Location: Sydney, Australia
Distribution: Mageia 7
Posts: 406
Blog Entries: 4

Rep: Reputation: 80
ditto bash here.
 
Old 07-12-2014, 06:25 PM   #103
Myk267
Member
 
Registered: Apr 2012
Location: California
Posts: 422
Blog Entries: 16

Rep: Reputation: Disabled
bash. It does most of what I want. I just discovered vi mode, which is great because I'm on a vim kick.

I've been trying to get zsh working, but it seems borked on ubuntu, or maybe it's just borked in general. Still, the tab completion features are quite inspiring.

ksh seems like the unholy child of shell and a general purpose programming language. That's either great if you haven't discovered Python* and want to do everything in your shell's language. Given the choice, I'd rather keep the shell for wiring programs together and use a general purpose language for more complicated things like dealing with abstract data types, math and other things I can't wring out of the standard tools.

*sub in your language of choice here.
 
Old 07-13-2014, 01:11 AM   #104
basica
Member
 
Registered: Nov 2011
Location: Australia
Distribution: Arch, LFS
Posts: 171

Rep: Reputation: 38
I use bash the vast majority of the time, I have used zsh in the past on a few occasions and I like its completion feature. At the moment I am trying to get more familiar with bash scripting as it's used everywhere and I'm trying to improve my scripts from being simply commands copy/pasted with minor if/else statements or cases. The syntax is really not what I am use to (python\java\c#) so it's a bit of a doozy.
 
Old 07-16-2014, 09:20 AM   #105
champted
LQ Newbie
 
Registered: Jun 2014
Location: Northern New York State
Posts: 12

Rep: Reputation: Disabled
I use bash mostly, and have been getting better at writing shell scripts in it.

My Raspberry Pi is running PiBang with no GUI, and it defaults to zsh. I've started playing with that and I like it. If I can get sufficiently up to speed with it on the RasPi, I will consider using zsh on my personal GNU/Linux systems.

I will leave bash on the production systems at work, though, as I'm not the only one who uses them.

________________________

Slackware 14.0 (CLI), Linux Mint 13 MATE, Windows 7, Windows XP, and Windows 2000 at work
Kubuntu 12.04.4 and Windows 7 dual-booting on the laptop
MEPIS 11.0 on the home desktop (soon to become Linux Mint 17 KDE) dual-booting with Windows 7
PiBang v.20131119 (CLI) on the Raspberry Pi old model B (256 MB RAM)
 
  


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

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

All times are GMT -5. The time now is 01:06 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