Re: How to find your shell

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 28, 2005 at 10:09:20AM +0200, stian@xxxxxxxx wrote:
> Don't make it any harder than needed :-p
> 
> # ls -l /proc/self/exe
> 
> That will show where the current shell executable file is located, and
> hence its name.

ben@elsa:~$ uname -s -r
Linux 2.6.8
ben@elsa:~$ ls -l /proc/self/exe
lrwxrwxrwx  1 ben ben 0 Apr 28 09:24 /proc/self/exe -> /bin/ls

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux