摘要:
1、创建测试数据 [root@linuxprobe test]# echo "aaa.bbb.ccc.ddd" > a.txt [root@linuxprobe test]# cat a.txt aaa.bbb.ccc.ddd 2、利用\进行转义,使转义字符仍为字符串 [root@linuxprob 阅读全文
posted @ 2020-10-05 13:32
小鲨鱼2018
阅读(17300)
评论(0)
推荐(0)
摘要:
1、简单用法,直接加数字 [root@linuxprobe test]# seq 10 ## 输出1到10列表 1 2 3 4 5 6 7 8 9 10 2、设置起点、终点 [root@linuxprobe test]# seq 5 10 ##设置起点为5,终点为10,默认的步长为1。 5 6 7 阅读全文
posted @ 2020-10-05 12:47
小鲨鱼2018
阅读(930)
评论(0)
推荐(0)
摘要:
1、*比较常用的通配符,表示匹配任意长度的任意字符 创建测试数据: [root@linuxprobe test]# touch {1..3}.txt {1..3}.csv {1..3}.xxx ## 利用touch常见空文件 [root@linuxprobe test]# ls 1.csv 1.tx 阅读全文
posted @ 2020-10-05 11:13
小鲨鱼2018
阅读(4340)
评论(0)
推荐(0)

浙公网安备 33010602011771号