Date command

zhaozj2021-02-16  91

Output operating system's current date, time, and time zone. If you want to output in ISO standard format, I must use the command "date -iseconds". You can modify the current date and time to 2003-12-31 23:57, use the command: Date 123123572003.

The command is: Date month

Or use two commands (more easily understood and remember):

Date --SET 2003-12-31DATE -SET 23:57:00 If you want to reset the hardware clock (BIOS), you can use the command setClock to require superuser privileges.

转载请注明原文地址:https://www.9cbs.com/read-12228.html

New Post(0)