Unix/Linux Tutorials | Shell Script for Digital Timer | by Durga Sir



Unix/Linux Tutorials | Shell Script for Digital Timer | by Durga Sir

Unix/Linux Tutorials | Shell Script for Digital Timer | by Durga Sir

Shell Script for Digital Timer:
=======================
eg-1:

#! /bin/bash

while [ true ]
do
clear
tput cup 7 25
echo “$(date +%H:%M:%S)”
sleep 1
done

eg-2:
#! /bin/bash
while [ true ]
do
clear
tput cup 7 25
echo “WELCOME TO DURGASOFT”
sleep 2
clear
tput cup 7 25
echo “UNIX/LINUX CLASSES”
sleep 2
done

Comments are closed.