摘要:
001、sed实现 root@PC1:/home/test2# ls a.txt root@PC1:/home/test2# cat a.txt 1 e d 2 a g 3 w e 4 d g 5 g j 6 e j 7 l m 8 i n root@PC1:/home/test2# sed 'N; 阅读全文
posted @ 2022-06-20 10:15
小鲨鱼2018
阅读(351)
评论(0)
推荐(0)
摘要:
1、1、3行互换 root@PC1:/home/test2# ls a.txt swap.sh root@PC1:/home/test2# cat a.txt 1 x c 2 s d 3 e t 4 d s 5 j u 6 n x root@PC1:/home/test2# cat swap.sh 阅读全文
posted @ 2022-06-20 10:07
小鲨鱼2018
阅读(530)
评论(0)
推荐(0)
摘要:
1、001 root@PC1:/home/test2# ls a.txt root@PC1:/home/test2# cat a.txt Chr1 Chr11 Chr7 Chr8 Chr10 Chr2 Chr5 Chr3 root@PC1:/home/test2# sort a.txt ## 排序异 阅读全文
posted @ 2022-06-20 08:36
小鲨鱼2018
阅读(148)
评论(0)
推荐(0)
摘要:
01、 root@PC1:/home/test2# ls a.txt root@PC1:/home/test2# cat a.txt ddd 2 8 aa 1 87 name gender score ff 2 3 ss 1 23 root@PC1:/home/test2# sort -k 3 a. 阅读全文
posted @ 2022-06-20 08:25
小鲨鱼2018
阅读(111)
评论(0)
推荐(0)

浙公网安备 33010602011771号