Re: How to find your shell
- From: Ben Johnson <ben blarg net>
- To: stian nixia no
- Cc: Shiraz Baig <shiraz_baig yahoo com>, valdis kletnieks vt edu, gtklist <gtk-list gnome org>
- Subject: Re: How to find your shell
- Date: Thu, 28 Apr 2005 09:33:30 -0700
On Thu, Apr 28, 2005 at 10:09:20AM +0200, stian nixia no 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]