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