

InterviewSolution
1. |
Solve : unix sleep and date commands? |
Answer» please help me to fix my script trying to use sleep 2 minutes while the system is sleeping i want to PRINT out same message every 5 seconds please help me to fix my script trying to use sleep 2 minutes while the system is sleeping i want to print out same message every 5 seconds Code: [Select]t=$(date +%S) t=`echo $t+120 |bc` echo "this program will end in 2 minutes from now" sleep $t exit |
|