For loop iterating over a list of IP addresses from a txt file
It's me again. I have the script working, but the script is not pinging the address 3 times and moving on to the next address. Also, the message that I want to display before each new ping session is not printing.
As always, any help is great. Here's the cute little codelette I have so far... Code:
#!/bin/bash |
seems like it worked for me
what is your test file looking like? Code:
#!/bin/bash Code:
yahoo.com Code:
$ ./pingloop |
Perfect. Thank you. It appears, since I was experimenting with Geany (I use VIM all the time), I hadn't saved the script so the changes were not registering. Thank you for everything! I am the crowned prince of making things harder than they need to be.
|
Quote:
No harm no foul. Cheers! :D |
All times are GMT -5. The time now is 10:53 PM. |