Mailinglist Archive: opensuse (2835 mails)

< Previous Next >
Re: [opensuse] Which Shell do I Have?
  • From: Kai Ponte <kai@xxxxxxxxxxxxxxxx>
  • Date: Tue, 5 Dec 2006 19:19:49 -0800
  • Message-id: <200612051919.49819.kai@xxxxxxxxxxxxxxxx>
On Tuesday 05 December 2006 14:16, Anders Johansson wrote:
> On Tuesday 05 December 2006 21:15, Thomas Hertweck wrote:
> > Hmmm... I would like to point out that this will (most likely) only
> > print the default shell which is set in /etc/passwd (which should be
> > fine in Kai's situation). If the current shell needs to be determined,
> > it's better to use "echo $0".
>
> ls -l /proc/$$/exe

kai@sith:~> ls -l /proc/$$/exe
lrwxrwxrwx 1 kai users 0 2006-12-05 19:18 /proc/4165/exe -> /bin/bash


Very cool. No clue what all that means, but it looks important. :)



--
kai
www.perfectreign.com || www.4thedadz.com

a turn signal is a statement, not a request
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups