Source
#!/bin/sh
# Adjust Clock
# Yoshiki SATO [2002/02/03]
/usr/sbin/ntpdate 133.100.9.2
/bin/sleep 3
/sbin/hwclock --systohc
echo "Hardware Clock : `hwclock --show`"
#!/bin/sh
# Adjust Clock
# Yoshiki SATO [2002/02/03]
/usr/sbin/ntpdate 133.100.9.2
/bin/sleep 3
/sbin/hwclock --systohc
echo "Hardware Clock : `hwclock --show`"
$ while true; do date; netstat -i; sleep 1; clear; done;
$ watch --interval 1 netstat -i
$ find -type f -printf "%s\n" |perl -ne '$i++; $byte += $_; $str = "\r$i files, $byte byte"; $str =~ s/(\d{1,3})(?=(?:\d\d\d)+(?!\d))/$1,/g; print $str'