#!/bin/bash pkill -STOP "$@" echo "press enter to unpause" read pkill -CONT "$@"