On Thu, Apr 28, 2005 at 10:09:20AM +0200, [EMAIL PROTECTED] 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.

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

_______________________________________________
gtk-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to