Re: OT: bash question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux