Horje
how to check if ip is up bash script Code Example
how to check if ip is up bash script
#!/bin/bash
IP='192.168.1.1'
fping -c1 -t300 $IP 2>/dev/null 1>/dev/null
if [ "$?" = 0 ]
then
  echo "Host found"
else
  echo "Host not found"
fi




Shell

Related
docker install manjaro Code Example docker install manjaro Code Example
Clone a specific repository Code Example Clone a specific repository Code Example
remove microsoft edge from ubuntu Code Example remove microsoft edge from ubuntu Code Example
windows apps how to create shortcut Code Example windows apps how to create shortcut Code Example
add dns in ubuntu permanently Code Example add dns in ubuntu permanently Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
14