Linux Periksa apakah layar sedang berjalan

if ! screen -list | grep -q "myscreen"; then
    # run bash script
fi
Honey Bee