#!/bin/sh ping_host() { if ping -c 1 -w 1 -Q "$1" >/dev/null then echo "
| Device | Description | Location | Status |
| gabbana | Internet router | Living room drawer | `ping_host gabbana`|
| n1a | Main server | Andrew's room | `ping_host n1a`|
| wap | Secondary wireless access point | Landing | `ping_host wap`
| Brother inkjet | `ping_host brother`
| Epson laser | `ping_host epson`