To start make sure file is executable - chmod +x beannoying.sh Running script `./beannoying.sh Diviorcing script from terminal so it can be ran in background ctrl z bg disown %1 then kill the terminal :)