摘要: 说明: *:匹配0个或多个任意字符 ?:匹配单个字符 []:匹配一组或单个字符 {}:匹配2种,字符和范围;如果对字符串使用大括号扩展,则必须使用逗号分隔列表 阅读全文
posted @ 2020-06-25 16:10 ly-uping 阅读(213) 评论(0) 推荐(0) 编辑
摘要: Shell 中的特殊字符参考链接: https://www.runoob.com/w3cnote/shell-special-char.html $符号(美元符号) 1、取变量的值 # a=10 # echo $a 10 2、正则表达式表示行尾 egrep ':$' /etc/inittab egr 阅读全文
posted @ 2020-06-25 16:02 ly-uping 阅读(623) 评论(0) 推荐(0) 编辑