date command
Subscribe
The date command helps to view and set the system date and time in Linux machine. Date command allows the user to set the date and time of the system as per the wish of the user. When the date command is used with no arguments, it prints the current time and date. If the format syntax is used with the date command the date is displayed in the user’s desired format.