Quote:
Originally Posted by tredegar
I'll be blunt: You are lazy, and don't really deserve any help at all, but:
|
Wow, SOMEBODY woke up on the wrong side of the bed today. To start off a post with an insult is not a very nice thing.
In any case, I don't do man pages. I gave up trying to read that gobblygook eons ago.
Still, I tried what you suggested:
Code:
kai@xwing:~> foo=$(ifconfig | grep 192.168.0.102)
bash: ifconfig: command not found
Not sure what the Foo command is. I did google it and came up with 37,700,000 responses. No time to look at it all.
Any other suggestions?
I'll google ifconfig, bash and grep. I assume you want me to write a bash script that somehow uses grep to find strings in the script and some output of the /sbin/ifconfig command.