linux 怎样修改本地时间
来源:互联网 发布:c 语言教程 编辑:程序博客网 时间:2024/04/19 15:14
又学了一招 修改linux的系统时间
一般安装linux的时候系统的时间不准确,但是时间对我们做程序或者维护的人员来说太重要了。
修改的方法如下 如果你的英文水平非常好你也可以使用如下命令下查看一下怎样修改的命令
date --help
你会看到如下结果
[root@localhost ~]# date --helpUsage: date [OPTION]... [+FORMAT] or: date [-u|--utc|--universal] [MMDDhhmm[[CC]YY][.ss]]Display the current time in the given FORMAT, or set the system date.
-d, --date=STRING display time described by STRING, not `now' -f, --file=DATEFILE like --date once for each line of DATEFILE -r, --reference=FILE display the last modification time of FILE -R, --rfc-2822 output date and time in RFC 2822 format --rfc-3339=TIMESPEC output date and time in RFC 3339 format. TIMESPEC=`date', `seconds', or `ns' for date and time to the indicated precision. -s, --set=STRING set time described by STRING 设置时间 以字符串的形式设置 -u, --utc, --universal print or set Coordinated Universal Time --help display this help and exit --version output version information and exit
[root@localhost ~]# date -s '11:34:30 2014-11-03'
设置时间的方法上边的照做 应该就没问题。
- linux 怎样修改本地时间
- linux修改本地时间
- Linux怎样修改系统时间
- Linux怎样修改系统时间
- Linux或Unix下怎样修改系统时间
- Linux或Unix下怎样修改系统时间
- Linux或Unix下怎样修改系统时间
- Android怎样修改系统时间?
- Android怎样修改系统时间?
- linux怎样修改主机名
- C# 修改系统本地时间
- C语言获取系统本地时间和修改本地时间
- linux--修改linux本地host
- 怎样修改Linux的hostname
- 怎样修改Linux的Hostname
- 怎样修改Linux的hostname
- linux怎样修改IP地址
- 怎样修改电脑时间同步北京时间
- 第二天-操作入门
- Linux常用命令(十七) - locate
- linux怎样修改IP地址
- Linux怎样创建用户
- 查看网络监听的端口
- linux 怎样修改本地时间
- linux 怎样修改文件夹的名字
- linux中rpm软件的安装命令
- linux 安装JDK
- package jdk1.8.0_25-1.8.0_25-fcs.i586 is already installed
- linux 安装myeclipse8.5
- linux 安装tomcat
- Linux 复制文件报 not a regular file
- 买买买,买那么多垃圾有何用?