Active Topics

 


Reply
Thread Tools
Posts: 27 | Thanked: 3 times | Joined on Nov 2007
#1
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
 
Posts: 833 | Thanked: 124 times | Joined on Nov 2007 @ Based in the USA
#2
Originally Posted by Bloodangel05 View Post
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
Since it's unix there are many ways to do what you want.
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.
__________________
N810, iGo bt kb, Diablo, 10Gb storage onboard instead of a Thinkpad
OTG w/ unlimited storage!!
Put a penguin in your pocket!!
PLEASE use the Wiki
 
fnordianslip's Avatar
Posts: 670 | Thanked: 359 times | Joined on May 2007
#3
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.
 
barry99705's Avatar
Posts: 641 | Thanked: 27 times | Joined on Apr 2007
#4
You might try renaming the files first.
__________________
Just because you are online, doesn't mean you don't have to form a full sentence.


SEARCH! It's probably already been answered.
 
ace's Avatar
Posts: 296 | Thanked: 80 times | Joined on Dec 2007
#5
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.
 
Posts: 264 | Thanked: 28 times | Joined on May 2006
#6
or use rm *.cap
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 21:25.