#!/bin/sh shopt -s nullglob for svc in ~/s6/service/*; do echo -n "$(basename $svc): " s6-svstat $svc done