![]() |
Delete Files From Root
I've been using aircrack-ng, and the files sitting in root as starting to pile up.
I did some forum searching and some google searching since my knowledge of linux is pitiful, to some avail, but it wasn't all around victory for me. I know to delete files, you become root, and you use the command rm filename then it deletes said file. However, the files are called --irv-01.cap etc, and when you put rm --irv-01.cap it does not recognize it as an option...and it mocks me. Any help on how to fix this? And just to clarify from searching the forum, aircrack...once you find the channel (lets say 6), and you want to start, the command is airodump-ng -c 6 -w --ivs wlan0 Correct? Lets say theres more then one on that channel...then what? Thanks for the help people :) |
Re: Delete Files From Root
Quote:
Since you are root there are many ways to do what you do not want to do. At your level make sure everything you do with the rm command asks for permission. You could use quote marks. You could use the find command. You could use wild cards to match the first two characters. My favorite method is: rm -r ./* This tries to remove the first file it finds, moves up the directory structure and then descends, sometimes leaving you with a clean disk, all ready for a rebuild. :D |
Re: Delete Files From Root
Be very sure to notice the '.' in the command mentioned in the previous post, as deleting the whole file-system normally takes some effort to recover from.
|
Re: Delete Files From Root
You might try renaming the files first.
|
Re: Delete Files From Root
On a standard Linux machine, I'd use a command like "rm -- --irv-01.cap".
The two dashes will tell the "rm" command to process any further arguments as filenames. |
Re: Delete Files From Root
or use rm *.cap
|
All times are GMT. The time now is 05:49. |
vBulletin® Version 3.8.8