I was told to change Time Zone on RHEL servers. According to them, I need to run "system-config-time" , choose the correct time zone and press ENTER on OK. Sound simple? Right? The problem is that I need to do the same thing on 20+ Servers. I am the laziest guy in the world. So I try a solution called "one liner". Here is the command that I run on all servers.
#ln -sf /usr/share/zoneinfo/Asia/Singapore /etc/localtime
Now time zone is changed to Asia/Singapore. Isn't it cool?
Be Lazy!
No comments:
Post a Comment