会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
小鲨鱼2018
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
263
264
265
266
267
268
269
270
271
···
408
下一页
2022年1月15日
linux 系统中 获取环境变量、 获取环境变量+自定义变量
摘要: 1、获取环境变量 export env 2、测试export 和 env: root@PC1:/home/test# ls root@PC1:/home/test# export > export.txt ## 生成文件 root@PC1:/home/test# ls export.txt root
阅读全文
posted @ 2022-01-15 00:18 小鲨鱼2018
阅读(1294)
评论(0)
推荐(0)
2022年1月14日
linux 系统中awk命令实现统计每行数据的最大值、最小值
摘要: 1、测试数据 root@PC1:/home/test# ls test.txt root@PC1:/home/test# cat test.txt 3 4 2 2 1 9 5 7 5 7 8 4 2 3 4 6 2、统计每行数据的最大值 root@PC1:/home/test# ls test.tx
阅读全文
posted @ 2022-01-14 22:02 小鲨鱼2018
阅读(913)
评论(0)
推荐(0)
linux awk命令实现统计每行数据的总和、平均值
摘要: 1、测试数据 root@PC1:/home/test# ls test.txt root@PC1:/home/test# cat test.txt 3 4 2 2 1 9 5 7 5 7 8 4 2 3 4 6 2、实现计算每行的和 root@PC1:/home/test# ls test.txt
阅读全文
posted @ 2022-01-14 21:34 小鲨鱼2018
阅读(3248)
评论(14)
推荐(0)
linux awk命令实现输出每一列数据的最大值、最小值
摘要: 1、测试数据 root@PC1:/home/test# ls test.txt root@PC1:/home/test# cat test.txt 3 4 2 2 1 9 5 7 5 7 8 4 2 3 4 6 2、输出每一列的最大值 root@PC1:/home/test# ls test.txt
阅读全文
posted @ 2022-01-14 21:20 小鲨鱼2018
阅读(931)
评论(0)
推荐(0)
linux awk命令实现对数据的每一列进行求和、求平均
摘要: 1、测试数据 root@PC1:/home/test# ls test.txt root@PC1:/home/test# cat test.txt 3 4 2 9 1 3 5 4 3 7 8 4 2 3 4 6 2、对每一列数据进行求和 root@PC1:/home/test# ls test.tx
阅读全文
posted @ 2022-01-14 20:56 小鲨鱼2018
阅读(2474)
评论(0)
推荐(0)
linux中bc命令
摘要: 在终端实现计算功能 1、在终端直接使用 root@PC1:/home/test# bc ## 在终端直接输入bc进入 bc 1.07.1 Copyright 1991-1994, 1997, 1998, 2000, 2004, 2006, 2008, 2012-2017 Free Software
阅读全文
posted @ 2022-01-14 19:40 小鲨鱼2018
阅读(317)
评论(0)
推荐(0)
linux中date命令获取日期信息
摘要: linux中date命令用于获取当前的日期 1、 root@PC1:/home/test# date ##在终端直接输入date即可获取当前的日期信息 2022年 01月 14日 星期五 12:30:42 CST 2、 root@PC1:/home/test# date +%Y ##年 2022 r
阅读全文
posted @ 2022-01-14 12:38 小鲨鱼2018
阅读(2629)
评论(0)
推荐(0)
linux sed + r实现在文件指定位置插入文件
摘要: 1、测试数据 root@PC1:/home/test# ls a.txt test.txt root@PC1:/home/test# cat test.txt 3 s j d z 4 x c 8 3 f z c m d root@PC1:/home/test# cat a.txt 1 2 3 2、
阅读全文
posted @ 2022-01-14 12:18 小鲨鱼2018
阅读(546)
评论(0)
推荐(0)
linux 中split命令实现按行拆分文件
摘要: 1、测试数据 root@PC1:/home/test# ls test.map root@PC1:/home/test# cat test.map 01 SNP01 55910 02 SNP02 85204 03 SNP03 122948 04 SNP04 203750 05 SNP05 31270
阅读全文
posted @ 2022-01-14 00:11 小鲨鱼2018
阅读(2750)
评论(0)
推荐(0)
2022年1月13日
vitualbox 安装centos虚拟机全过程
摘要: 1、安装virtualbox虚拟机软件 官网:https://www.virtualbox.org/ , 下载后直接双击安装即可 2、下载centos镜像文件 下载地址:http://mirrors.njupt.edu.cn/centos/7.9.2009/isos/x86_64/ ,这里选择的是c
阅读全文
posted @ 2022-01-13 20:02 小鲨鱼2018
阅读(475)
评论(0)
推荐(0)
上一页
1
···
263
264
265
266
267
268
269
270
271
···
408
下一页
公告