上一页 1 ··· 299 300 301 302 303 304 305 306 307 ··· 367 下一页
摘要: 1、测试数据 [root@centos7 test]# cat a.txt e d g e s d g w a x d g n d i d 2、 [root@centos7 test]# cat a.txt e d g e s d g w a x d g n d i d [root@centos7 阅读全文
posted @ 2021-04-15 14:36 小鲨鱼2018 阅读(264) 评论(0) 推荐(0) 编辑
摘要: 1、测试数据 [root@centos7 test2]# cat a.txt e d g e d w i s d g w e i d a x d g i w e n d i d o e w 2、提取1-3列,1-5列 [root@centos7 test2]# cat a.txt e d g e d 阅读全文
posted @ 2021-04-15 11:57 小鲨鱼2018 阅读(2834) 评论(0) 推荐(0) 编辑
摘要: 1、测试数据 [root@centos7 test2]# cat a.txt e d g e s d g w a x d g n d i d 2、将第三列替换为xxx [root@centos7 test2]# cat a.txt e d g e s d g w a x d g n d i d [r 阅读全文
posted @ 2021-04-15 11:03 小鲨鱼2018 阅读(4670) 评论(0) 推荐(0) 编辑
摘要: 1、测试数据 [root@centos7 test2]# cat a.txt e d g e s d g w a x d g n d i d [root@centos7 test2]# cat a.txt | sed -n l e d g e$ s d g w$ a x d g$ n d i d$ 阅读全文
posted @ 2021-04-15 10:57 小鲨鱼2018 阅读(2171) 评论(0) 推荐(0) 编辑
摘要: 1、测试数据 [root@centos7 test2]# ll -h total 1.4G -rw-r--r--. 1 root root 41M Apr 15 09:47 a.map -rw-r--r--. 1 root root 204M Apr 15 09:47 a.ped -rw-r--r- 阅读全文
posted @ 2021-04-15 10:03 小鲨鱼2018 阅读(1130) 评论(0) 推荐(0) 编辑
摘要: 1、测试数据 [root@centos7 test2]# ls a.map a.ped b.map b.ped c.ped result.map [root@centos7 test2]# ll -h total 1.4G -rw-r--r--. 1 root root 41M Apr 15 09: 阅读全文
posted @ 2021-04-15 09:57 小鲨鱼2018 阅读(1268) 评论(0) 推荐(1) 编辑
摘要: 1、创建测试数据 [root@centos7 test2]# cat > a.txt i s g z e q d k i p m h y u t e ^C [root@centos7 test2]# ls a.txt [root@centos7 test2]# cat a.txt i s g z e 阅读全文
posted @ 2021-04-15 09:44 小鲨鱼2018 阅读(874) 评论(0) 推荐(0) 编辑
摘要: 1、创建测试数据 [root@centos7 test2]# touch a.txt b.txt c.txt; mkdir test01 test02 test03 [root@centos7 test2]# ls a.txt b.txt c.txt test01 test02 test03 2、删 阅读全文
posted @ 2021-04-15 09:23 小鲨鱼2018 阅读(974) 评论(0) 推荐(0) 编辑
摘要: 1、创建测试数据 [root@centos7 test2]# touch {1..9}.txt [root@centos7 test2]# ls 1.txt 2.txt 3.txt 4.txt 5.txt 6.txt 7.txt 8.txt 9.txt 2、删除3.txt、7.txt外的其他文件 [ 阅读全文
posted @ 2021-04-15 09:05 小鲨鱼2018 阅读(329) 评论(0) 推荐(0) 编辑
摘要: 1、问题 [root@rhelpc1 home]# lsb_release -a bash: lsb_release: command not found... 2、解决方法 [root@rhelpc1 home]# yum install redhat-lsb -y Loaded plugins: 阅读全文
posted @ 2021-04-14 15:33 小鲨鱼2018 阅读(402) 评论(0) 推荐(0) 编辑
上一页 1 ··· 299 300 301 302 303 304 305 306 307 ··· 367 下一页