You can also use rdate to get the time set In debian you must use: apt-get install rdate rdate is placed in /usr/sbin in redhat rdate is part of the system in /usr/bin #!/bin/sh /usr/sbin/rdate -s time1.unet.brandeis.edu /bin/date The call to date confirms the current time. Barry