summaryrefslogtreecommitdiffstats
path: root/pause-proc
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2014-09-13 00:07:55 +0200
committerFlorian Pritz <bluewind@xinu.at>2014-09-13 00:07:55 +0200
commit8450e9ac59dfb678ae3fc2adca5bb837804710f3 (patch)
tree655b5c145aeb9f30e7e8ea8b019b38474176c994 /pause-proc
parente59d9c40e64cb5e6fb4fcfd6401583c03bbd99be (diff)
downloadbin-8450e9ac59dfb678ae3fc2adca5bb837804710f3.tar.gz
bin-8450e9ac59dfb678ae3fc2adca5bb837804710f3.tar.xz
add some new scripts
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'pause-proc')
-rwxr-xr-xpause-proc6
1 files changed, 6 insertions, 0 deletions
diff --git a/pause-proc b/pause-proc
new file mode 100755
index 0000000..46e5799
--- /dev/null
+++ b/pause-proc
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+pkill -STOP "$@"
+echo "press enter to unpause"
+read
+pkill -CONT "$@"