Ubuntu
timezone
bash
# 查看时间
$ date
# 查看时区
$ cat /etc/timezone
# 查看时区表
$ timedatectl list-timezones
# 设置时区
$ timedatectl set-timezone=Asia/Shanghai
tar
bash
# -z filter the archive through gzip
# -x extract files from an archive
# -c create a new file
# -f use archive file or device ARCHIVE
# -v verbosely list files processed
# 压缩
tar -zcvf [...original] [target].tar.gz
# 解压
tar -zxvf [target].tar.gz -C [path]