Re: How to find your shell
- From: Philip Kendall <pak21 srcf ucam org>
- To: gtklist <gtk-list gnome org>
- Subject: Re: How to find your shell
- Date: Thu, 28 Apr 2005 09:27:43 +0100
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.
$ uname -s -r
FreeBSD 4.9-STABLE
$ ls -l /proc/self/exe
ls: /proc/self/exe: No such file or directory
Cheers,
Phil
--
"How many apocalypses is this for us?"
"Well, six at least. Seems like a hundred."
Buffy and Giles: The Gift
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]