On 09/20/2009 05:40 PM, Dale wrote:
walt wrote:
On 09/20/2009 02:51 PM, Dale wrote:
Alan McKinnon wrote:

The reason you don't see bash in ps is because you are not running
bash. I do,
but you obviously don't. What shell does root use per /etc/passwd?

This one:

root:x:0:0:root:/root:/bin/bash

Looks like bash.  ;-)  I assume this is the default because I have never
changed this file.  Is there something screwy with my system?

In linux bash is the default shell (even sh is a symlink to bash) but in
other OS's other default shells prevail.

Okay, okay, Alan, you're right, I have not tried every linux distro out there,
but when I was a linux noob I tried every one I could find.  Back then that was
Debian, SuSe, Red Hat, Mandrake (since morphed into something else), and very
recently Ubuntu, just to see what all the fuss was about. (I'm sticking with
gentoo.)

All of those use(d) bash as the default shell, but may have switched while I
wasn't looking.  Bash *appears* to be the official shell of GNU, as its home
page is hosted there:  http://www.gnu.org/software/bash/

BTW, all of the above distros including gentoo are officially un-endorsed by
GNU:  http://www.gnu.org/philosophy/common-distros.html

How did you type your 'ps aux' command?  In an xterm window, or what?

Here's a snippet from my ps axf:  (I love that 'f' flag)

  4682 tty1     S      0:00 xterm -bg rgb:db/e9/f9 -sb -fn 9x15
  4685 pts/0    Ss     0:00  \_ bash
  4724 pts/0    S      0:00      \_ su
  4729 pts/0    S      0:00          \_ bash
22427 pts/0    R+     0:00              \_ ps axf

 ...I did this in a Konsole within KDE...

Ah, that was the answer I was looking for.  I'm a bit surprised that Konsole
doesn't invoke bash somehow.  I'll investigate more tomorrow when I'm awake.



Reply via email to