Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Mar 2017 09:12:14 -0500
From:      James E Keenan <>
Subject:   Is there a namei utility in FreeBSD?
Message-ID:  <>

Next in thread | Raw E-Mail | Index | Archive | Help
In Linux, there is a userland utility 'namei' which enables a user to 
"follow a pathname until a terminal point is found".  Invoking it on, 
say, a symlink produces output like this:

$ namei /usr/bin/bundledoc
f: /usr/bin/bundledoc
  d /
  d usr
  d bin
  l bundledoc -> ../share/texlive/texmf-dist/scripts/bundledoc/bundledoc
    d ..
    d share
    d texlive
    d texmf-dist
    d scripts
    d bundledoc
    - bundledoc

Is there an equivalent utility in FreeBSD?  In 10.3 and 11.0, I could 
only find namei in man 9, which is C-level facility, not an executable 

Thank you very much.
Jim Keenan

Want to link to this message? Use this URL: <>