dallas7
Group: Members
Posts: 36
Joined: Sep. 2003 |
|
Posted: Nov. 25 2004,18:47 |
|
While I think I understand the basics of grep, I just can't seem to figure out this:
I want to search ALL the files on my hard drive for a string of text, but I keep running into an "invalid argument."
I've tried grep -r string / grep -r string * grep -r string /* grep string -r etc. etc.
I'm pretty sure it can be done, but the syntax eludes me. I've looked at alot of sites for help to no avail. I'm not even sure if the string has to be bracketed by 'string' or "string"
What I'm tryng to find is the file that stores the data used by ath0 in my WiFi setup. I'm assuming iwconfig writes that to something somewhere, just like ifconfig writes to etc/network/interfaces. The text string I'm using is the ESSID which would seem to be a logical parameter to use in the search.
Thanks!
-------------- Your Jedi mind tricks won't work on me, Skywalker.
|