PDA

View Full Version : The Incredible Regenerating Folder!



Nano Geek
September 19th, 2007, 05:28 AM
Woa, this is weird.
I'm taking an HTML class online, and I wanted to see the code for some websites, so I downloaded linux.com with wget, and now it won't leave my hard-drive!

Every time I try to delete it, it makes a copy of its self again.
I included a video for those who want to see it.
I would appreciate any help that I could get or any similar experiences that you might have had.

FuturePilot
September 19th, 2007, 05:51 AM
wget isn't stuck in a loop is it?

blithen
September 19th, 2007, 06:12 AM
VERY cool. 'Cept if you can't get it off that kinda sucks lol.

Shazaam
September 19th, 2007, 06:37 AM
ctrl+c

Might work.

bluenova
September 19th, 2007, 06:43 AM
sudo pkill wget

blithen
September 19th, 2007, 07:28 AM
ctrl+c

Might work.
:/ Why would he do that? Seems quite silly.

Nano Geek
September 19th, 2007, 12:31 PM
sudo pkill wgetwget's not running anymore, the folder is coming back on its own.

Paul820
September 19th, 2007, 12:36 PM
Instead of moving it to the trash, just delete it fully. There is an option to add a delete command in the preferences when you open your home folder. Weird though. :)

Ebuntor
September 19th, 2007, 12:46 PM
Instead of moving it to the trash, just delete it fully. There is an option to add a delete command in the preferences when you open your home folder. Weird though. :)

I think you can do that by pressing Shift+Delete. :)

Zaneyard
September 19th, 2007, 12:46 PM
idk if you have to become sudo or not for this but do that if it doesn't work this way

first try changing directory to whatever folder it is in
Ex. cd /home
then use the command rm to remove
rm www.linux.com
thats the only thing i can think of

Nano Geek
September 19th, 2007, 12:55 PM
I did a rm -rf, and it still came back.

asmoore82
September 19th, 2007, 01:00 PM
wget's not running anymore, the folder is coming back on its own.


~$ ps -A | grep get

Nano Geek
September 19th, 2007, 01:00 PM
Hmm.
I just rebooted, and that fixed it.
Thanks for the help guys.
I wonder what could have happened.
:-k

Zaneyard
September 19th, 2007, 01:06 PM
is it possible that a program is recreating it as you delete it?
what does the -rf do that you used?
can you move it to another folder w/o it regenerating?
maybe it is having malicious software problems. the only way a folder would have problems deleting even though you can move it w/o a problem would be that another program is storing it and looking for the delete command
as you saw it is regenerating and not just denying deletion altogether
unless linux itself is doing this you have some kind of application storing and restoring the folder
have you tried restarting, or is that not an option?

Zaneyard
September 19th, 2007, 01:06 PM
haha i was right
restarting works
i just take a long time to post
that was the second time that happened today

Nano Geek
September 19th, 2007, 01:21 PM
is it possible that a program is recreating it as you delete it?
what does the -rf do that you used?
can you move it to another folder w/o it regenerating?
maybe it is having malicious software problems. the only way a folder would have problems deleting even though you can move it w/o a problem would be that another program is storing it and looking for the delete command
as you saw it is regenerating and not just denying deletion altogether
unless linux itself is doing this you have some kind of application storing and restoring the folder
have you tried restarting, or is that not an option?Thanks for the help.
rm -rf will remove a folder, and everything in it.

argie
September 19th, 2007, 01:51 PM
Hmm.
I just rebooted, and that fixed it.
Thanks for the help guys.
I wonder what could have happened.
:-k

Okay, I don't know much about these things but when linux deletes files it just removes the link to the inode (or something like that). Maybe that's the problem.

On second thought, after seeing how it happened, I think you accidentally made wget a background process. If you use Ctrl-C to close wget, you may have accidentally hit Ctrl-Z, they're close on the keyboard. Or something like that.

merlyn
September 19th, 2007, 03:11 PM
what does the -rf do that you used?

I know that you already have a response to this but the command
rm -rftranslates to,

rm = remove

-r = recursive i.e. the specified directory, sub directories and all contents.

-f = force, meaning that the person issuing the command will not be prompted for confirmation during the removal process.

For further information, open a terminal and type the following
man rmwhere

man = manual & rm = (see above).

As you can see from these two examples commands are typically truncated forms of actual words, which in time will help in understanding their purpose and aid in remembering them.

Here (http://www.linuxdevcenter.com/linux/cmd/) is an excellent online guide to *nix commands.

Cheers.

cmat
September 19th, 2007, 03:13 PM
:/ Why would he do that? Seems quite silly.

That kills it.

asmoore82
September 19th, 2007, 03:54 PM
Hmm.
I just rebooted, and that fixed it.
Thanks for the help guys.
I wonder what could have happened.
:-k

wget was still running/orphaned/zombied...