From: kremlin Date: Mon, 15 Sep 2014 21:11:13 +0000 (-0400) Subject: begin assgn3 bash PID info script X-Git-Url: https://uglyman.kremlin.cc/gitweb/gitweb.cgi?a=commitdiff_plain;h=bfcad051de6e4355ad1011a6f589cbc9686a1cdd;p=assignments.git begin assgn3 bash PID info script --- diff --git a/assgn3/process-pid.sh b/assgn3/process-pid.sh new file mode 100755 index 0000000..0676b8b --- /dev/null +++ b/assgn3/process-pid.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +if [ -z "$1" ] || [ "$1" = "-h" ] ; then + echo "usage: ./process-pid.sh [command] [pid]" + exit 1; +fi