---
title: "Ubuntu Command Note"
author: "jnh"
date: "2016-11-06T14:45:33Z"
tags: []
categories: ["操作系统"]
slug: "ubuntu-command-note"
draft: false
lastmod: "2016-11-06T14:45:33Z"
id: 2335609
url: "https://jnh.iteye.com/blog/2335609"
---

Change TimeZone:

root@ubuntu:~# timedatectl set-timezone Asia/Shanghai  
root@ubuntu:~# **timedatectl**  
Local time: Sun 2016-11-06 14:43:54 CST  
Universal time: Sun 2016-11-06 06:43:54 UTC  
RTC time: Sun 2016-11-06 06:43:54  
Time zone: Asia/Shanghai (CST, +0800)  
Network time on: yes  
NTP synchronized: yes  
RTC in local TZ: no  
root@ubuntu:~#