Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How do I remove a soft link? (SOLVED)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
podollb
Apprentice
Apprentice


Joined: 05 May 2005
Posts: 190

PostPosted: Wed Jun 15, 2005 4:52 am    Post subject: How do I remove a soft link? (SOLVED) Reply with quote

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
View user's profile Send private message
John-Boy
Guru
Guru


Joined: 23 Jun 2004
Posts: 442
Location: Desperately seeking moksha in all the wrong places

PostPosted: Wed Jun 15, 2005 4:55 am    Post subject: Reply with quote

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
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Wed Jun 15, 2005 8:17 am    Post subject: Reply with quote

Moved from Gentoo Chat to Other Things Gentoo.
Back to top
View user's profile Send private message
podollb
Apprentice
Apprentice


Joined: 05 May 2005
Posts: 190

PostPosted: Wed Jun 15, 2005 12:20 pm    Post subject: Reply with quote

Yep that was it, I knew it was something simple... Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum