BASH_SRV Telegram 142
Чтобы быстро проверить соединение с набором хостов, можно использовать след. скрипт


#!/bin/bash
for host in server1.example.com server2.example.com 8.8.8.8; do
if ping -c1 -W1 "$host" &>/dev/null; then
echo " $host доступен"
else
echo " $host недоступен"
fi
done


🔧 Можно добавить свои сервера в список и за пару секунд проверить доступность.

👉@bash_srv
👍9



tgoop.com/bash_srv/142
Create:
Last Update:

Чтобы быстро проверить соединение с набором хостов, можно использовать след. скрипт


#!/bin/bash
for host in server1.example.com server2.example.com 8.8.8.8; do
if ping -c1 -W1 "$host" &>/dev/null; then
echo " $host доступен"
else
echo " $host недоступен"
fi
done


🔧 Можно добавить свои сервера в список и за пару секунд проверить доступность.

👉@bash_srv

BY Bash Советы




Share with your friend now:
tgoop.com/bash_srv/142

View MORE
Open in Telegram


Telegram News

Date: |

1What is Telegram Channels? But a Telegram statement also said: "Any requests related to political censorship or limiting human rights such as the rights to free speech or assembly are not and will not be considered." Clear A Telegram channel is used for various purposes, from sharing helpful content to implementing a business strategy. In addition, you can use your channel to build and improve your company image, boost your sales, make profits, enhance customer loyalty, and more. The court said the defendant had also incited people to commit public nuisance, with messages calling on them to take part in rallies and demonstrations including at Hong Kong International Airport, to block roads and to paralyse the public transportation system. Various forms of protest promoted on the messaging platform included general strikes, lunchtime protests and silent sit-ins.
from us


Telegram Bash Советы
FROM American