time helpers

This commit is contained in:
John Poole 2026-05-16 08:03:38 -07:00
commit 887d3dd1e2
2 changed files with 39 additions and 0 deletions

23
scripts/compare_time.sh Executable file
View file

@ -0,0 +1,23 @@
#!/bin/bash
# compare_local_time.sh
# 20260516 ChatGPT
# $Header$
#
# Infinite loop displaying only Local time from timedatectl.
#
# Example:
# chmod 755 compare_local_time.sh
# ./compare_local_time.sh
#
# Suggested side-by-side usage:
# ssh jlpoole@zerodev1
# ./compare_local_time.sh
#
# ssh jlpoole@zerodev2
# ./compare_local_time.sh
while true
do
timedatectl status | grep 'Local time:'
sleep 1
done