#!/bin/bash source /etc/profile watcher-memtester & watcher-badblocks & journalctl -f & while [[ -f /run/test.pid ]] ; do sleep 5 done screen -X focus bottom screen -X remove