HF RL Explorer

Task: Host Availability Checker Using Ping in Bash

Task: Host Availability Checker Using Ping in Bash: a task in Terminal-Lego-15k (Harbor dataset). Create a bash script that checks the availability of network hosts using ping and correctly reports whether each host is online or offline. The script should handle both single hosts and a list of…

The task

Create a bash script that checks the availability of network hosts using `ping` and correctly reports whether each host is online or offline. The script should handle both single hosts and a list of hosts read from a file.

Part of PrimeIntellect/Terminal-Lego-15k.