会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
小鲨鱼2018
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
264
265
266
267
268
269
270
271
272
···
408
下一页
2022年1月13日
virtualbox 安装centos增强功能 kernel headers not found for target kernel
摘要: 1、问题 2、查看linux版本 [root@localhost test]# cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) 3、解决方法 step1: [root@localhost test]# yum update k
阅读全文
posted @ 2022-01-13 18:11 小鲨鱼2018
阅读(936)
评论(0)
推荐(0)
2022年1月10日
linux 中 sort -n -k -u选项实现按照某一列对数据进行去重复
摘要: 1、测试数据 root@DESKTOP-1N42TVH:/home/test2# ls a.map root@DESKTOP-1N42TVH:/home/test2# cat a.map ##测试数据 1 s64199.1 0 55910 1 OAR19_64675012.1 0 85204 1 O
阅读全文
posted @ 2022-01-10 23:49 小鲨鱼2018
阅读(329)
评论(0)
推荐(0)
linux 中sort 排序异常
摘要: 1、测试数据 root@DESKTOP-1N42TVH:/home/test2# ls a.txt root@DESKTOP-1N42TVH:/home/test2# cat a.txt aa 2413 bb 3322 cc 4231 root@DESKTOP-1N42TVH:/home/test2
阅读全文
posted @ 2022-01-10 12:39 小鲨鱼2018
阅读(272)
评论(0)
推荐(0)
linux 中sort命令 -k选项
摘要: 1、-k 指定域 + 位置 root@DESKTOP-1N42TVH:/home/test# ls a.txt root@DESKTOP-1N42TVH:/home/test# cat a.txt ## 测试数据 google 110 5000 baidu 100 5000 guge 50 3000
阅读全文
posted @ 2022-01-10 12:29 小鲨鱼2018
阅读(780)
评论(0)
推荐(0)
2022年1月8日
linux中实现将连续的多列数据合并为指定列数据
摘要: 1、测试数据 root@DESKTOP-1N42TVH:/home/test# ls a.txt root@DESKTOP-1N42TVH:/home/test# cat a.txt 01 02 03 04 05 06 07 08 09 11 12 13 14 15 16 17 18 19 2、实现
阅读全文
posted @ 2022-01-08 20:19 小鲨鱼2018
阅读(386)
评论(0)
推荐(0)
linux中将指定行数据合并为一行数据
摘要: 1、测试数据 root@DESKTOP-1N42TVH:/home/test# ls a.txt root@DESKTOP-1N42TVH:/home/test# cat a.txt 01 11 02 12 03 13 04 14 05 15 06 16 07 17 08 18 09 19 10 2
阅读全文
posted @ 2022-01-08 20:01 小鲨鱼2018
阅读(2061)
评论(0)
推荐(0)
2022年1月7日
gz文件压缩、解压缩保留源文件
摘要: 1、 root@DESKTOP-1N42TVH:/home/test2# ls outcome.map root@DESKTOP-1N42TVH:/home/test2# gzip -c outcome.map > test.gz ## 压缩并保留源文件 root@DESKTOP-1N42TVH:/
阅读全文
posted @ 2022-01-07 17:51 小鲨鱼2018
阅读(843)
评论(0)
推荐(0)
2022年1月6日
linux中实现将多个连续的字符拆分为单个字符
摘要: 1、 root@DESKTOP-1N42TVH:/home/test# ls outcome.map root@DESKTOP-1N42TVH:/home/test# cat outcome.map ## 测试数据 1s64199.1055910 1OAR19_64675012.1085204 1O
阅读全文
posted @ 2022-01-06 23:33 小鲨鱼2018
阅读(257)
评论(0)
推荐(0)
linux 中删除当前目录下指定文件外所有的文件
摘要: 1、ls + grep + xargs 实现 a、 root@DESKTOP-1N42TVH:/home/test# touch test{1..10}.txt root@DESKTOP-1N42TVH:/home/test# touch abc{1..10}.csv root@DESKTOP-1N
阅读全文
posted @ 2022-01-06 23:18 小鲨鱼2018
阅读(436)
评论(0)
推荐(0)
linux 中实现按列的索引循环
摘要: 1、 root@DESKTOP-1N42TVH:/home/test# ls a.txt root@DESKTOP-1N42TVH:/home/test# cat a.txt i A Em F d q ddd M d e N ffff i A Em F d q ddd M d e N ffff ro
阅读全文
posted @ 2022-01-06 22:54 小鲨鱼2018
阅读(104)
评论(0)
推荐(0)
上一页
1
···
264
265
266
267
268
269
270
271
272
···
408
下一页
公告