随笔分类 - linux shell
摘要:001、编译报错如下: 002、原因gcc版本低 当下版本为: (base) [root@PC1 boost_1_86_0]# gcc --version gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36) Copyright (C) 2015 Free Soft
阅读全文
摘要:rocky9中boast的安装。 01、 boost 是一个跨平台的 c++ 库集合,它提供了许多功能和工具,用于在 linux 上开发高性能的应用程序。 02、下载最新版的boost https://www.boost.org/users/download/ 03、安装依赖环境 yum -y in
阅读全文
摘要:如何在Linux系统中设置Boost库的环境变量? https://www.kdun.com/ask/1334132.html
阅读全文
摘要:GSL(GNU Scientific Library)是一个开源的科学计算库,主要用于C和C++程序。它包含了大量高效的数学函数,适用于各种科学计算任务。
阅读全文
摘要:001、yum报错 (base) [root@PC1 yum.repos.d]# yum install httpd ## yum安装应用报错 。 002、解决方法 (base) [root@PC1 home]# cd /etc/yum.repos.d (base) [root@PC1 yum.re
阅读全文
摘要:001、 002、 003、 前景色全部改为0 004、 背景色全部改为255 。
阅读全文
摘要:001、 [root@PC1 test]# ls a.txt [root@PC1 test]# cat a.txt ## 测试数据 abcd KHG DETT dre ssae rtE [root@PC1 test]# awk '{$1 = toupper(substr($1, 1, 1)) sub
阅读全文
摘要:001、 [root@PC1 test1]# ls a.txt [root@PC1 test1]# cat a.txt ## 测试数据,对如下文本按照a、b进行排序输出 01 02b 03 04 05 06a 07 08 09 10b 11 12 13 14b 15 16 17 18a 19 20
阅读全文
摘要:001、简单测试 [root@PC1 test1]# ls a.txt [root@PC1 test1]# cat a.txt ## 测试数据 01 02 03b 34 05 86 87a 98 09 10 41b 12 13 54 15i 16 17 18 19a 20 [root@PC1 tes
阅读全文
摘要:001、 [root@PC1 test1]# ls a.txt [root@PC1 test1]# cat a.txt ## 测试数据 fasp.sra.ebi.ac.uk:/vol1/fastq/SRR131/072/SRR13178372/SRR13178372.fastq.gz;fasp.sr
阅读全文
摘要:001、 [root@PC1 test]# ls a.txt [root@PC1 test]# cat a.txt ## 测试数据 01 02 03 04 kk 05 06 07 08 09 10 11 12 [root@PC1 test]# sed '' a.txt ## 说明在默认情况下,sed
阅读全文
摘要:001、 [root@PC1 test]# ls a.txt [root@PC1 test]# cat a.txt ## 测试数据 01 02 03 04 05 06 07 08 09 10 11 12 [root@PC1 test]# sed -n 'n;p' a.txt ## 输出偶数行 03
阅读全文
摘要:Linux 中sed命令n和N选项的应用
阅读全文
摘要:Linux 中 sed命令 h和H选项的应用
阅读全文
摘要:001、 [root@PC1 test]# cat -A a ## 测试文本 1 2$ 3 4$ 5 6$ 7 8$ [root@PC1 test]# awk '{print "$1="$1; getline; print "$2="$2}' a ## getline 会读入下一行,并对下一行按照a
阅读全文
摘要:001、 [root@PC1 test]# ls a.txt [root@PC1 test]# cat a.txt ## 测试文本 1 01 02 03 04 2 05 06 07 08 3 09 10 11 12 4 13 14 15 16 5 17 18 19 20 6 21 22 23 24
阅读全文
摘要:001、grep 中 -h表示只显示匹配的内容,而不显示匹配的文件 [root@PC1 test]# ls a.txt b.txt [root@PC1 test]# grep "2" * ## 正常情况下有多个文件匹配到内容的时候,会现实匹配的文件名 a.txt:01 02 03 04 a.txt:
阅读全文

浙公网安备 33010602011771号