Using the UNIX/Linux sleep command to pause a shell script or command for a short time. And other useful commands.

The Linux sleep command will enable you to pause a Linux command for a short time. The example below has our command halting for 5 seconds before executing. The suffix s means seconds, this is useful for halting a script whilst you are waiting for something else to run. C:\HOME\FLYNN\DESKTOP> sleep 5s ; ps PID … Read more

How to set the correct time with the command-line on Debian.

Setting the system time with Debian Linux is very simple, using the date command, you may display the current date/time, then copy this to the date -s “” command and then edit it to the proper value. This is the easiest technique to set the Linux system time. This is the existing date. root@deusexmachina:/home/neo# date … Read more

OpenSuse 11.3. Setting the time and managing services.

When managing services on OpenSuse 11.3 the best way is to use the service command. One example is to synchronize the time with an Internet time server. I have NTP setup so I can just type: service ntp restartservice ntp restart That command will restart the NTP daemon and set the time on your machine … Read more