Finding a File's Full Path in Linux

Particularly when coding and you need to make links to files or libraries, or if you use sym links to streamline your file system, it can be very useful to find the Fully Qualified Path (sometimes referred to as FQP) of a file. This command does the trick: readlink -f ./MyFile.txt

Tory Anderson avatar
Tory Anderson
Digital Humanist, Web App Engineer, PhD Candidate, Computer Psychologist
comments powered by Disqus