blob: 57c6926850c4c2e04f0674eb9f6a5418b117a320 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/bash
ZONES="America/Los_Angeles UTC Europe/London Europe/Berlin Asia/Kuala_Lumpur Asia/Singapore unix"
while :
do
clear
echo
for TZ in $ZONES ; do
if [ $TZ = "unix" ] ; then
TIME=$( date +%s )
else
TIME=$( date )
fi
echo -e $TIME "\t" $TZ
done
sleep 1
done
|