Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Mar 2017 11:02:15 -0500
From:      Anton Yuzhaninov <citrin+bsd@citrin.ru>
To:        freebsd-questions@freebsd.org
Subject:   Re: Is there a namei utility in FreeBSD?
Message-ID:  <275628a8-8f31-e5b1-9669-62e3ca3f15d6@citrin.ru>
In-Reply-To: <984464e3-8f4e-d15f-00a8-e341a81d7ab5@verizon.net>
References:  <984464e3-8f4e-d15f-00a8-e341a81d7ab5@verizon.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 03/06/17 09:12, James E Keenan wrote:
> 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:

If you need to find a target of symlink (or symlink chain) you can use 
realpath(1).



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?275628a8-8f31-e5b1-9669-62e3ca3f15d6>