Re: Delete a Symbolic Link?



Le 11 mars 2006 à 00:01, Ditch Brodie a écrit :

localhost# rm PostgreSQL-8.0.4/
rm: PostgreSQL-8.0.4/: is a directory

I guess you use auto-completion. Try without the trailing slash, eg. :

0:28 fred@balvenie:~/tmp> ls -l
total 2
drwxr-xr-x 2 fred fred 512 11 mar 00:28 test
lrwxr-xr-x 1 fred fred 4 11 mar 00:28 toto -> test

0:28 fred@balvenie:~/tmp> rm toto/
rm: toto/: is a directory

0:28 fred@balvenie:~/tmp> rm toto

0:28 fred@balvenie:~/tmp> ls -l
total 2
drwxr-xr-x 2 fred fred 512 11 mar 00:28 test

Fred
--
A groan of tedium escapes me, startling the fearful. Is this a test ?
It has to be, otherwise I can't go on. Draining patience, drain
vitality. This paranoid, paralyzed vampire act's a little old. But I'm
still right here, giving blood, keeping faith (Tool, The Patient)
.