Shell日期处理
摘要:在类Unix系统中,日期被存储成一个整数,其大小为自世界标准时间(UTC)①1970年1月1日0时0分0秒②起所流逝的秒数。这种计时方式称为纪元时或Unix时间。(1) 读取日期:[root@server-test ~]# dateFri May 25 14:50:05 CST 2018(2) 打印
阅读全文
posted @ 2018-05-25 15:31
posted @ 2018-05-25 15:31
posted @ 2018-05-22 17:17
posted @ 2018-05-22 16:02
posted @ 2018-05-16 17:08