[nzlug] Any way to edit broken soft links?

Karl. kmw1 at free.net.nz
Mon Dec 10 16:38:12 NZDT 2007


On Mon, Dec 10, 2007 at 04:08:12PM +1300, Nic Bellamy wrote:
> $ stat -c '%N' Examples
> `Examples' -> `/usr/share/example-content'

I'm surprised that stat doesn't provide a cleaner display option!

Anyway, what about using 'readlink' ?

Karl.
-- 
http://mowson.org/karl



More information about the NZLUG mailing list