realpath

Quick note post. I wanted to document this handy little Unix command for spitting out the absolute path of a file: cd ~/projects/<project>/docs ls thing.md realpath thing.md /path/to/home/projects/<project>/docs/thing.md So, if thing.md lives at ~/projects/ /docs/thing.md, we'd get something like... /path/to/home/projects/<project>/docs/thing.md Especially when dealing with LLMs (needing to…