OT: bash question
Mike Wright
mike.wright at mailinator.com
Mon Jan 31 21:22:33 UTC 2011
Frantisek Hanzlik wrote:
> Mike Wright wrote:
>> Alan J. Gagne wrote:
>>> You could try echo $0 from inside you script.
>> Thanks Alan.
>>
>> My mistake. I forgot to say that the file was invoked from a link.
>> Your proposed solution shows the link's location. I have to discover
>> the target of the link.
>>
>> Ever onward!
>
> /bin/readlink from coreutils
You are the man! Woooo Hoooo, that was the solution.
I knew this list had the masters... :D
More information about the users
mailing list