[buug] ln -sf

johnd john at jjdev.com
Thu Jul 29 15:34:03 PDT 2004


is the force option of ln supposed to work on sym links?

I can't get it to like below.  Am I doing something wrong?

--------------------------------------------
john at ldev:~/foodelme$ touch file
john at ldev:~/foodelme$ touch file1
john at ldev:~/foodelme$ ln -s file link
john at ldev:~/foodelme$ ls -l
total 1
-rw-r--r--  1 john users 0 2004-07-29 15:26 file
-rw-r--r--  1 john users 0 2004-07-29 15:26 file1
lrwxrwxrwx  1 john users 4 2004-07-29 15:26 link -> file
john at ldev:~/foodelme$ ln -fs file1 file
john at ldev:~/foodelme$ ls -l
total 1
lrwxrwxrwx  1 john users 5 2004-07-29 15:27 file -> file1
-rw-r--r--  1 john users 0 2004-07-29 15:26 file1
lrwxrwxrwx  1 john users 4 2004-07-29 15:26 link -> file
john at ldev:~/foodelme$ 

-- 
Microsoft is not the answer.
Microsoft is the question.
NO (or Linux) is the answer.

http://www.livingwithoutmicrosoft.org/
http://linuxshop.ru/linuxbegin/win-lin-soft-en/table.shtml



More information about the buug mailing list