Re: How to find your shell



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]