From bfcad051de6e4355ad1011a6f589cbc9686a1cdd Mon Sep 17 00:00:00 2001 From: kremlin Date: Mon, 15 Sep 2014 17:11:13 -0400 Subject: [PATCH] begin assgn3 bash PID info script --- assgn3/process-pid.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 assgn3/process-pid.sh 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 -- 2.41.0