What does Linux date -s or –set=STRING option do?

You can use date -s or –set=STRING option to set your system date and time to a custom date-time specified in a string.

date -s or –set=STRING option example:

Leave a Reply