Hello,
I have a program but I don’t know what it does and how to use it… Please help me! What should I type in Command Panel?
(Here’s the BASH code):
#!/bin/bash
for ip in seq 1 254 ; do
ping -c 1 $1.$ip | grep "64 bytes" | cut -d " " -f 4 |
tr -d ":" &
done
miku86
2
Hey there,
Linux packages have great manual pages.
The for
line is a loop, where you do
something until it is done
.
What does the loop do?
Have a look at:
man ping
man grep
man cut
man tr
system
Closed
3
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.