Re: OT: bash question

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

 



Alan J. Gagne wrote:
>> 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.
> 
> echo `ls -la $0`

This will point only to first target. "readlink" has switches for
recursive resolv.
-- 
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