On Mon, Nov 10, 2003 at 06:37:16PM -0800, Quel Qun wrote:
This is weird:

# ls -l linux
linux -> linux-2.4.22-21mdk
# ln -sf linux-2.6.0-0.test9.4mdk linux
# ls -l linux
linux -> linux-2.4.22-21mdk
# rm -f linux && ln -s linux-2.6.0-0.test9.4mdk linux
# ls -l linux
linux -> linux-2.6.0-0.test9.4mdk

Am I missing anything here? I tried the --force option with the same
results.
yes
# man ls
-n, --no-dereference
       treat destination that is a symlink to a directory
       as if it were a normal file

so ln -lnf would work


-- Luca Berra -- [EMAIL PROTECTED] Communication Media & Services S.r.l. /"\ \ / ASCII RIBBON CAMPAIGN X AGAINST HTML MAIL / \



Reply via email to