登录注册

18250178511

Linux 查看当前时间

作者:admin      时间:2016-11-03 13:57:21

nghai /etc/localtime

二、查看和修改Linux的时间

1. 查看时间和日期

命令 : "date"

2.设置时间和日期

例如:将系统日期设定成2009年11月3日的命令

命令 : "date -s 11/03/2009"

将系统时间设定成下午5点55分55秒的命令

命令 : "date -s 17:55:55"

3. 将当前时间和日期写入BIOS,避免重启后失效

命令 : "hwclock -w"

 

注:

date
不加参数可以直接看到当前日期时间
cal
不加参数可以直接看到本月月历


上一篇:centos安装php

下一篇:LINUX常用命令


发表评论

评论列表

匿名

order accutane <a href="https://topgnonline.shop/">azithromycin 250mg for sale</a> oral azithromycin

2023-09-22 10:01:19

匿名

omnicef 300mg sale <a href="https://glurazol.com/">purchase metformin for sale</a> prevacid 15mg over the counter

2023-09-20 14:47:31

匿名

order provigil 100mg online <a href="https://pronlinenil.shop/">promethazine over the counter</a> buy generic deltasone

2023-09-19 04:57:40

匿名

order cenforce 50mg sale <a href="https://enapocen.com/">buy cenforce no prescription</a> purchase chloroquine generic

2023-09-17 17:39:38

匿名

generic telmisartan <a href="https://molnenil.com/">plaquenil 400mg over the counter</a> purchase movfor generic

2023-09-16 03:16:10