View Single Post
Old 12. Dec 2009, 01:40 AM   #2 (permalink)
Senior Member
debtboy's Avatar
Join Date: May 2009
Location: ~/
Posts: 128

Now for a simple demonstration...

If your going to use this file, copy it into a text editor and save it.
I saved it as, but you name it whatever you want.
In addition to saving the file, you will have to make it executable, use this command:
chmod 755 ./
The "./" just means the current directory you are in and if you named
the file something different then adjust the command accordingly.

I'm going to pick an IP address we are all familiar with (this website) Ping should do the trick.

I'm running ping for 1 count which is enough to expose the IP address.

Now to run the script...
[I][B]Linux, the choice of a GNU generation[/B][/I]
debtboy is offline   Reply With Quote