projects
/
assignments.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f59f2f
)
begin assgn3 bash PID info script
author
kremlin
<ian@kremlin.cc>
Mon, 15 Sep 2014 21:11:13 +0000
(17:11 -0400)
committer
kremlin
<ian@kremlin.cc>
Mon, 15 Sep 2014 21:11:13 +0000
(17:11 -0400)
assgn3/process-pid.sh
[new file with mode: 0755]
patch
|
blob
diff --git a/assgn3/process-pid.sh
b/assgn3/process-pid.sh
new file mode 100755
(executable)
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