1
2
3
4
5
6
7
8
9
10
11
12
13
14
[root@localhost pub]# ll
total 1648
-rw-r--r--  1 root root  85648 Jun  5 23:52 14thtop.png
-rw-r--r--  1 root root 262852 Jun  5 23:52 orkuthelper.png
-rw-r--r--  1 root root 143804 Jun  5 23:52 shot1.png
-rw-r--r--  1 root root 160552 Jun  5 23:52 shot2.png
-rw-r--r--  1 root root 159934 Jun  5 23:52 shot3.png
-rw-r--r--  1 root root 141849 Jun  5 23:52 shot4.png
lrwxrwxrwx  1 root root      9 Jun  4 18:44 windows -> /windows/
[root@localhost pub]# rmdir windows/
rmdir: 'windows/': Not a directory
[root@localhost pub]# rm windows/
rm: cannot remove directory 'windows/': Is a directory
[root@localhost pub]#

can you just tell me how to remove this directory? plz… urgent help required …

Related Posts

{ 4 comments… read them below or add one }

1 GI. Waters June 6, 2006 at 4:39 AM

If you want to delete only the soft link and not the target directory, do this
rm -f windows
Dont put the ‘/’ after ‘windows’

If you want to delete the target directory then change to ‘/’ and delete it normally.

Try this — ‘file windows’ and ‘file windows/’

Reply

2 rockingatul June 6, 2006 at 6:01 AM

Try this…this should work…

$chmod -R 755 windows

$rm -rf windows

if this works inform me…

Reply

3 kulbirsaini June 6, 2006 at 7:09 AM

@Rockingatul
It would be very kind of you if you would not tell that method to anyone else in your lifetime becuase people may kill you. If I might have tried that command, I would have lost my 120GB of data.

Reply

4 Pyrite June 24, 2007 at 8:48 AM

i see the word WINDOWS… so ill just assume you have to format and reinstall! :P

Reply

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">

Previous post:

Next post: