登录注册

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常用命令


发表评论

评论列表

匿名

purchase nifedipine generic <a href="https://perinril.pro/">perindopril 4mg without prescription</a> fexofenadine for sale online

2023-06-08 19:31:19

匿名

montelukast 5mg price <a href="https://monteast.life/">montelukast 5mg ca</a> order avlosulfon 100 mg pills

2023-06-06 22:03:58

匿名

buy proventil 100 mcg for sale <a href="https://pantople.life/">pantoprazole 40mg pills</a> order generic phenazopyridine

2023-06-05 09:51:27

匿名

order olumiant 4mg online <a href="https://gmtormin.com/">order glucophage 500mg for sale</a> atorvastatin oral

2023-06-05 05:58:56

匿名

buy naproxen pill <a href="https://xproxen.ink/">naprosyn pill</a> lansoprazole pills

2023-06-03 21:46:25