Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to remove links?
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
Farkenell
Tux's lil' helper
Tux's lil' helper


Joined: 05 Dec 2003
Posts: 88

PostPosted: Wed Mar 02, 2005 5:47 pm    Post subject: How to remove links? Reply with quote

I got a directory that I made a link to,

I can't seem to remove the linked directory no more ><
I've tried:
rm -Rf dir/
rmdir dir/
unlink dir/

keep getting the same error not a directory...
Back to top
View user's profile Send private message
manu.acl
Guru
Guru


Joined: 29 Jan 2005
Posts: 426
Location: Paris

PostPosted: Wed Mar 02, 2005 6:12 pm    Post subject: Reply with quote

Code:
$ rm -f dir

?
Back to top
View user's profile Send private message
msalerno
Veteran
Veteran


Joined: 17 Dec 2002
Posts: 1338
Location: Sweating in South Florida

PostPosted: Wed Mar 02, 2005 6:14 pm    Post subject: Reply with quote

in other words, drop the trailing slash
Back to top
View user's profile Send private message
gentsquash
l33t
l33t


Joined: 03 Nov 2004
Posts: 753
Location: Still a Gentoo beginner.

PostPosted: Wed Mar 02, 2005 6:15 pm    Post subject: Reply with quote

Do you want to post (in a [ code ] block, of course) these cmds and
their output:

Code:
ls -lFd  dir/


and all of your remove-cmds? Also, are you running as root, or tux?
(I'm using "tux" to mean a non-root user.)

By "link" do you mean a symlink? ("symbolic link")
_________________
Your thread resolved? Putting [SOLVED] in its title helps all Gentooers. (Button "edit" , first post)
Prof. Jonathan LF King, Mathematics dept., University of Florida
Back to top
View user's profile Send private message
Farkenell
Tux's lil' helper
Tux's lil' helper


Joined: 05 Dec 2003
Posts: 88

PostPosted: Thu Mar 03, 2005 8:37 am    Post subject: Reply with quote

heheh there we go :) too much relying on autocompletion :oops:
Back to top
View user's profile Send private message
gentsquash
l33t
l33t


Joined: 03 Nov 2004
Posts: 753
Location: Still a Gentoo beginner.

PostPosted: Thu Mar 03, 2005 2:20 pm    Post subject: Reply with quote

Farkenell, if you feel that your problem is [SOLVED],
would you consider marking it as such? Only you can edit the
title of the first post in the thread.
_________________
Your thread resolved? Putting [SOLVED] in its title helps all Gentooers. (Button "edit" , first post)
Prof. Jonathan LF King, Mathematics dept., University of Florida
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