如果我的unix机器设置为IST时区,我该如何获得当前GMT时间?
你可以使用-u选项的date命令:
date -u
-u Display (or set) the date in Greenwich Mean Time (GMT-universal time),bypassing the normal conversion to (or from) local time.