Hi guys,
I want my script to open another terminal and execute itself in there, while I am doing my stuff in the old terminal. How do I put this in the script?
My script is piece of cake, to display the time every 10 seconds.
Code:
$cat ticktack
trap 'echo clock killed; exit 1' 2
while true
do
clear
date +%r
sleep 10
done
BUt I wanna be able to just type ticktack and another small console opens in the corner with the clock working in there. Thanks.