[colug-432] show path stuff

jep200404 at columbus.rr.com jep200404 at columbus.rr.com
Fri Oct 30 13:20:27 EDT 2015


On Fri, 30 Oct 2015 11:36:06 -0500, Rick Hornsby <richardjhornsby at gmail.com> wrote:

> Poking around on the interwebs, found a command I didn't know existed - 
> namei - which seems to do exactly what you want:
> 
> $ namei -mo /etc/udev/rules.d/70-persistent-net.rules
> f: /etc/udev/rules.d/70-persistent-net.rules
>  drwxr-xr-x root root /
>  drwxr-xr-x root root etc
>  drwxr-xr-x root root udev
>  drwxr-xr-x root root rules.d
>  -rw-r--r-- root root 70-persistent-net.rules

Thanks. That is exactly what I wanted.
It's even installed by default on Centos 6.

On Fri, 30 Oct 2015 12:13:05 -0400, Jeff Frontz <jeff.frontz at gmail.com> wrote:

> dirname

Thanks. I feel a little embarrassed that I did not think of dirname.


More information about the colug-432 mailing list