Skip to content

Instantly share code, notes, and snippets.

View JackWa's full-sized avatar

Jack Wass JackWa

View GitHub Profile
@JackWa
JackWa / parent.sh
Last active January 17, 2017 10:59 — forked from pbootly/parent.sh
Parent script handler
#!/bin/bash
echo "Warning! This script will use half the number of your CPU's for background processes..."
echo -n "Do you wish to continue...? [y/N]"
read answer
if echo "$answer" | grep -iq "^y" ;then
echo "Starting processes..."
else
echo "Quitting..."
exit