#!/usr/bin/env bash if [ -z "$1" ] || [ "$1" = "-h" ] ; then echo "usage: ./process-pid.sh [command] [pid]" exit 1; fi