Monday 13 February 2017

How to check timezone on Ubuntu


Every computers have date and time, but what about the timezone? how to check which timezone my computer use? in this article i will show you how to check timezone on ubuntu.

Checking timezone on ubuntu can be done through command line, and there are few command can be use to check timezone, these are the commands:

Checking timezone using date command:
date +"%Z %z"

Checking timezone using timedatectl command:
timedatectl
timedatectl | grep "Timezone"

Checking timezone using /etc/timezone file:
cat /etc/timezone

Harry

Author & Editor

A technology enthusiast and addictive blogger who likes to hacking tricks and wish to be the best White Hacket Hacker of the World.

0 comments:

Post a Comment

Note: only a member of this blog may post a comment.