Got me a problem:
I've got a link file that I need to figure out where the real target is located.
How do I do that? I've tried readlink, but can't seem to get that to work.
Imagine you have:
/home/azredhawk44/somefile.txt
and
/home/azredhawk44/somefile.lnk
Whenever you vi, cat, more, etc against somefile.lnk... you end up in somefile.txt. Problem is, my situation is more difficult, because the link is running off somewhere else.
I've got a legacy informix app I'm rewriting to be straight MS SQL, but gotta support the existing crap until then. Totally stumped on how to trace down the original source code and make environment for one client's custom module that was written before my arrival with no documentation/source. Got a symlink taking me to a script that runs make, but it's erroring. Good fun. This particular environment is HP-UX.