0% found this document useful (0 votes)
18 views

Bash

Uploaded by

SpId3rb
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views

Bash

Uploaded by

SpId3rb
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

# Student Zamfirescu Bogdan Cristian tema 1 laborator index 14 #Script-ul va arata Ip-ul si mesajul "is up" sau nu daca

ping-ul va avea succes #!/bin/bash TraceIp() { ping -c 1 $1 > /dev/null [ $? -eq 0 ] && echo Node with IP: $i is up. } for i in 10.1.1.{1..255} do TraceIp $i & disown done

You might also like