View previous topic :: View next topic |
Author |
Message |
podollb Apprentice
Joined: 05 May 2005 Posts: 190
|
Posted: Wed Jun 15, 2005 4:52 am Post subject: How do I remove a soft link? (SOLVED) |
|
|
I have created a soft link and now I can't remove the darn thing... What am I doing wrong?
I could have sworn that I just ran "rm" on previous soft links I had created (in recent history), but I have just started using Gentoo and I can't seem to get the job done. So either I am going crazy or there is another way to remove them... Here is my attempts as recorded by the terminal:
ying tmp # ls -la htd*
lrwxrwxrwx 1 root root 26 Jun 13 17:31 htdocs -> /var/www/localhost/htdocs/
ying tmp # rm htdocs/
rm: cannot remove `htdocs/': Not a directory
ying tmp # rmdir htdocs/
rmdir: `htdocs/': Not a directory
ying tmp # rm -f htdocs/
rm: cannot remove `htdocs/': Not a directory
ying tmp #
Last edited by podollb on Wed Jun 15, 2005 12:20 pm; edited 1 time in total |
|
Back to top |
|
|
John-Boy Guru
Joined: 23 Jun 2004 Posts: 442 Location: Desperately seeking moksha in all the wrong places
|
Posted: Wed Jun 15, 2005 4:55 am Post subject: |
|
|
Just rm htdocs (no slash) doesn't work ? _________________ Like the Roman, I seem to see "the River Tiber foaming with much blood" |
|
Back to top |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Wed Jun 15, 2005 8:17 am Post subject: |
|
|
Moved from Gentoo Chat to Other Things Gentoo. |
|
Back to top |
|
|
podollb Apprentice
Joined: 05 May 2005 Posts: 190
|
Posted: Wed Jun 15, 2005 12:20 pm Post subject: |
|
|
Yep that was it, I knew it was something simple... Thanks. |
|
Back to top |
|
|
|