Quantcast
Viewing all articles
Browse latest Browse all 46

Answer by Flimm for bash/fish command to print absolute path to a file

$ readlink -m FILE
/path/to/FILE

This is better than readlink -e FILE or realpath, because it works even if the file doesn't exist.


Viewing all articles
Browse latest Browse all 46

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>