Should "ls -R" traverse symlinks?

Felix Lee flee at shire.cs.psu.edu
Fri May 12 21:46:45 AEST 1989


No.  Not unless "ls -R" detects cycles and guarantees termination.%
If you really want to traverse links, "ls -RL" is almost adequate.

% A normal "ls -R" can still loop, but this should be uncommon.
--
Felix Lee	flee at shire.cs.psu.edu	*!psuvax1!shire!flee



More information about the Comp.unix.wizards mailing list