摘要: 摘自:https://www.runoob.com/linux/linux-comm-sync.html Linux 命令大全 Linux sync命令用于数据同步,sync命令是在关闭Linux系统时使用的。 Linux 系统中欲写入硬盘的资料有的时候会了效率起见,会写到 filesystem b 阅读全文
posted @ 2020-04-18 13:52 LiuYanYGZ 阅读(598) 评论(0) 推荐(0) 编辑
摘要: 摘自:http://www.planetb.ca/syntax-highlight-word/ 一、工具 方法1.打开这个网页PlanetB; 方法2.或者谷歌搜索syntax highlight code in word documents,检索结果的第一个。如下图: PS. 方法1和2打开的为同 阅读全文
posted @ 2020-04-18 11:20 LiuYanYGZ 阅读(2195) 评论(0) 推荐(0) 编辑
摘要: 摘自:https://blog.csdn.net/weixin_42615308/article/details/90763465 介绍下Shell中的${}、##和%%使用范例,本文给出了不同情况下得到的结果。 假设定义了一个变量为:代码如下: file=/dir1/dir2/dir3/my.fi 阅读全文
posted @ 2020-04-18 09:28 LiuYanYGZ 阅读(1589) 评论(0) 推荐(0) 编辑
摘要: 摘自:https://www.cnblogs.com/leixingzhi7/p/6281675.html 在shell脚本中统计程序执行完毕所需要的时间不像在java中使用System.currentTimeMillis()方便 稍微记录一下,以供备用,免得又去花时间想(统计程序执行消耗多少s): 阅读全文
posted @ 2020-04-18 09:26 LiuYanYGZ 阅读(289) 评论(0) 推荐(0) 编辑