Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #169823

Re: Bash command completion

From Peter Ludikovsky <peter@ludikovsky.name>
Newsgroups linux.debian.user
Subject Re: Bash command completion
Date 2016-07-07 07:40 +0200
Message-ID <rSacx-2D8-13@gated-at.bofh.it> (permalink)
References (2 earlier) <rS31n-6fe-1@gated-at.bofh.it> <rS3b3-6AA-11@gated-at.bofh.it> <rS3kJ-6EL-1@gated-at.bofh.it> <rS9qa-25c-5@gated-at.bofh.it> <rS9Tb-2v2-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

No, chsh changes the login shell for the user within /etc/passwd. It
won't affect any currently active shells.

What happens when you do an
  /bin/bash --login
That should start a login shell. If you still only get the tab
character, check if you've got the line
  set -o vi
in /etc/profile, /etc/bash*, ~/.profile, or ~/.bash* anywhere.

Am 07.07.2016 um 07:14 schrieb Glenn English:
> 
>> On Jul 6, 2016, at 10:38 PM, Peter Ludikovsky <peter@ludikovsky.name> wrote:
>>
>> After an chsh, you have to log out & in again.
> 
> I thought of that -- I logged out and back in, no joy. I rebooted, same thing.
> 
> I wasn't too surprised. I assumed that rebooting the machine would just put stuff back the way it was. And that the problem was with the scripts in the user directories.
> 
> That wasn't it, and I was working on the wrong things. Lisi's insight led me to this afternoon's solution. And deloptes came up with another very interesting thought (which I haven't investigated yet).
> 
> Does chsh change things for good -- in passwd or in a shell var or a link? I thought it just started a shell, as if it was just starting a new program.
> 

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bash command completion Glenn English <ghe@slsware.net> - 2016-07-06 21:50 +0200
  Re: Bash command completion Charlie Kravetz <cjk@teamcharliesangels.com> - 2016-07-06 23:00 +0200
    Re: Bash command completion Sven Arvidsson <sa@whiz.se> - 2016-07-06 23:20 +0200
      Re: Bash command completion Glenn English <ghe@slsware.net> - 2016-07-07 00:10 +0200
    Re: Bash command completion Glenn English <ghe@slsware.net> - 2016-07-07 00:00 +0200
      Re: Bash command completion Lisi Reisz <lisi.reisz@gmail.com> - 2016-07-07 00:10 +0200
        Re: Bash command completion Glenn English <ghe@slsware.net> - 2016-07-07 00:20 +0200
          Re: Bash command completion Peter Ludikovsky <peter@ludikovsky.name> - 2016-07-07 06:50 +0200
            Re: Bash command completion Glenn English <ghe@slsware.net> - 2016-07-07 07:20 +0200
              Re: Bash command completion Peter Ludikovsky <peter@ludikovsky.name> - 2016-07-07 07:40 +0200
                Re: Bash command completion Glenn English <ghe@slsware.net> - 2016-07-08 03:30 +0200
        Re: Bash command completion Glenn English <ghe@slsware.net> - 2016-07-07 00:40 +0200
        Re: Bash command completion [Fixed] Glenn English <ghe@slsware.net> - 2016-07-07 00:50 +0200
          Re: Bash command completion [Fixed] deloptes <deloptes@gmail.com> - 2016-07-07 02:10 +0200
            Re: Bash command completion [Fixed] Glenn English <ghe@slsware.net> - 2016-07-07 04:50 +0200
        Re: Bash command completion David <bouncingcats@gmail.com> - 2016-07-31 15:20 +0200

csiph-web