Hey guys I know it's an old thread but I am just posting this for reference to anybody else who visited this like me. If i understood the question correctly, I think the locate $filename
command. It displays the absolute path of the file supplied, but only if it exists.
↧
Answer by icyyd for bash/fish command to print absolute path to a file
↧