![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
@Frederick
这个作者很懒,什么都没留下…
展开
-
linux同步系统时间
可参考:https://blog.51cto.com/liumissyou/1302050 99 ps aux|grep ntpdate 100 hwclock --show 101 date 102 exit 103 date 104 cd /etc 105 ll 106 cat localtime 107 cd /usr/share/zoneinfo/Asia 108 ll 109 cat /etc/sysconfig/clock 110 ntpdate 0.centos.poo原创 2022-01-22 17:37:53 · 503 阅读 · 0 评论 -
linux shell:${var1##*:} ${bz1%,*}的意思
介绍下Shell中的KaTeX parse error: Expected 'EOF', got '#' at position 4: {}、#̲#和%%使用范例,本文给出了不…{ }分别替换得到不同的值: ${file#/}:删掉第一个 / 及其左边的字符串:dir1/dir2/dir3/my.file.txt ${file##/}:删掉最后一个 / 及其左边的字符串:my.file.txt ...转载 2019-05-31 10:21:58 · 756 阅读 · 0 评论