[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OT: passing values to ls -- more questions!



On Sun, Jan 04, 2004 at 11:41:48AM -0500, Matt Price wrote:
> I can collapse these  two steps now with: 
> 
> matt@matts-mac:~$ ll $(which emacs)
> 
> ... but is there a way to trace the whole chain of symbolic links all the way
> to 
> -rwxr-xr-x    1 root     root      4254776 2002-04-09 18:46
> /usr/bin/xemacs-21.4.6-gnome-nomule
> 
> following the links manually takes about 5 steps!  Is there a command
> that will trace links recursively until it ends up at a real file?

  readlink -f

Cheers,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: