#!/bin/bash zenity --info --text "bla" & pid=$! sleep 30 kill $pid