begin assgn3 bash PID info script
authorkremlin <ian@kremlin.cc>
Mon, 15 Sep 2014 21:11:13 +0000 (17:11 -0400)
committerkremlin <ian@kremlin.cc>
Mon, 15 Sep 2014 21:11:13 +0000 (17:11 -0400)
assgn3/process-pid.sh [new file with mode: 0755]

diff --git a/assgn3/process-pid.sh b/assgn3/process-pid.sh
new file mode 100755 (executable)
index 0000000..0676b8b
--- /dev/null
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+
+if [ -z "$1" ] || [ "$1" = "-h" ] ; then
+       echo "usage: ./process-pid.sh [command] [pid]"
+       exit 1;
+fi