Atemu<p><a href="https://darmstadt.social/tags/TIL" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TIL</span></a> about the `namei` tool which is sort of like <a href="https://darmstadt.social/tags/traceroute" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>traceroute</span></a> but for filesystem traversal.</p><p>This is especially useful on <a href="https://darmstadt.social/tags/nixos" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>nixos</span></a> where you're frequently dealing with stuff that is multiple levels of symlinks deep.</p><p>It's probably already on your system because it's part of <a href="https://darmstadt.social/tags/utillinux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>utillinux</span></a>; go try it out:</p><p> namei `which ls`</p><p><a href="https://darmstadt.social/tags/namei" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>namei</span></a> <a href="https://darmstadt.social/tags/symlink" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>symlink</span></a> <a href="https://darmstadt.social/tags/linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>linux</span></a></p>