> For the record, those looking for a runtime workaround might prefer:
>
> date -u -s "$(date -u -R)"
>
> The extra switches are to avoid locales and ambiguous timezones getting in your way, and the quoting is, well, for proper quoting. :P
For what it's worth, an even simpler command to do this is:
date -s now
> For the record, those looking for a runtime workaround might prefer:
>
> date -u -s "$(date -u -R)"
>
> The extra switches are to avoid locales and ambiguous timezones getting in your way, and the quoting is, well, for proper quoting. :P
For what it's worth, an even simpler command to do this is:
date -s now
(as mentioned at the top of serverfault. com/questions/ 403732/ anyone- else-experienci ng-high- rates-of- linux-server- crashes- during- a-leap- second
http://
)
Nathan