linux

Linux – Commands

Resources SS64.com – An A-Z Index of the Bash command line for Linux http://ss64.com/bash/   In short Display the system hour $ date Modify the hour # date -s HH:MM:SS Modify the date # date -s MM/JJ/AAAA Display the server bios hour $ hwclock Synchronize the system hour with the bios hour # hwclock –systohc…

ntp

NTP time server

NTPDATE If we want to update the date of our serveur from time to time, we type the following: $ntpdate {a time server} Note: we must stop the process ntpd if it is running, we can do that with: # /etc/init.d/ntp stop or # /etc/init.d/ntpd stop If we must do a scheduled task which executes…