What Is the Command to Check Time in Linux?
Contents How Do I Show Time in Linux? to Display Date and Time Under Linux Operating System Using Command Prompt Use the Date Command. It Can Also Display the...
Contents
How do I show time in Linux?
To display date and time under Linux operating system using command prompt use the date command. It can also display the current time / date in the given FORMAT. We can set the system date and time as root user too.
What is the command to check timezone in Linux?
You can check timezone in Linux by simply running timedatectl command and checking the time zone section of the output as shown below. Instead of checking the entire output you can also just grep the zone keyword from timedatectl command output and get the timezone as shown below.