7

Right way to change time for a RHEL server

view full story
linux-howto

http://www.unix.com – I had the query of what would be the right approach to change the time on the RHEL server. I have the following ways to do that: 1) Code: # date -s "2 OCT 2006 18:00:00" Or Code: # date --set="2 OCT 2006 18:00:00" 2) Code: # date +%Y%m%d -s "20081128" The second option though would only change the date but not the time. I hope, my query is clear about what is the right way to change time for a RHEL server. Please revert with the reply to my query. Regards (HowTos)