随笔分类 - linux shell
摘要:001、 [root@localhost test]# ls a.txt [root@localhost test]# cat a.txt ## 测试数据 j003_mappingrate.txt KRA6 97.79% wild_mappingrate.txt KR.6 98.53% j004_m
阅读全文
摘要:001、 [s20223040682@admin2 test]$ echo hollo@world | fold -w 1 h o l l o @ w o r l d [s20223040682@admin2 test]$ echo hollo@world | fold -w 2 ho ll o@
阅读全文
摘要:001、 (base) [root@PC1 test]# ls a.txt idx.txt (base) [root@PC1 test]# cat a.txt ## 测试数据 01 02 03 04 05 06a 07 08 09 10 11 12 13 14b 15 16 17 18 19 20
阅读全文
摘要:001、 在Linux系统中,strings命令是一个强大且实用的工具,主要用于从二进制文件中提取可打印的字符序列。这些字符序列通常包括变量名、函数名、注释或任何嵌入的文本信息,对于文件分析和调试具有重要意义 [root@PC1 test]# ls a.txt [root@PC1 test]# ca
阅读全文
摘要:Linux中动态链接库环境变量:LD_LIBRARY_PATH 001、 [root@PC1 test]# echo $LD_LIBRARY_PATH 002、 (base) [b20223040323@admin2 test]$ echo $LD_LIBRARY_PATH /public/soft
阅读全文
摘要:001、ldd命令 [root@PC1 src]# ldd /bin/ls linux-vdso.so.1 (0x00007ffea61ad000) libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f57e03d4000) libcap.so.2
阅读全文
摘要:001、Linux中ld命令是链接命令,其作用是将链接文件(经过编译和汇编后的机器码文件)和库文件整合为可执行文件或者是库文件。 ld(Link eDitor)命令是二进制工具集GNU Binutils的一员,是GNU链接器,用于将目标文件与库链接为可执行文件或库文件。 002、 (base) [r
阅读全文
摘要:001、查看系统 [root@PC1 ~]# cat /etc/redhat-release Rocky Linux release 9.4 (Blue Onyx) 002、查看是否有可用的安装包 [root@PC1 ~]# yum list | grep "openblas" ## 没有可用的op
阅读全文
摘要:001、Linux中shell变量的截取 [root@PC1 test]# var1=",xxx,yyy,zzz" [root@PC1 test]# echo $var1 ,xxx,yyy,zzz [root@PC1 test]# var1=${var1:1} ## 变量的截取 [root@PC1
阅读全文
摘要:001、配置报错如下: checking whether PCRE support suffices... yes checking for curl-config... /root/anaconda3/bin/curl-config ## 用的是conda中的cure checking libcu
阅读全文
摘要:000、pcre是什么? perl正则表达式函数库 PCRE(Perl Compatible Regular Expressions)是一个用C语言编写的正则表达式函数库,由菲利普·海泽(Philip Hazel)编写。 001、问题 configure: error: PCRE2 librar
阅读全文
摘要:01、基础用法,获取路径中的最后一个字段 [root@PC1 test]# echo $PWD /home/test [root@PC1 test]# basename $PWD ## 基本用法, 获取路径的最后一个字段 test [root@PC1 test]# basename /home/xx
阅读全文
摘要:001、dir列出指定目录下的所有文件 [root@localhost test]# ls 1.txt 3.txt 5.txt 8.txt a.txt result.txt [root@localhost test]# dir ## 列出当前目录下的所有文件 1.txt 3.txt 5.txt 8.
阅读全文
摘要:001、 [root@localhost test]# ls a.txt [root@localhost test]# cat a.txt ## 测试数据 001 002 003 004 005 006 007 008 009 010 011 012 013 014 015 016 017 018
阅读全文
摘要:001、问题 /usr/bin/ld: cannot find -lopenblas 。 002、解决方法 yum -y install epel-release yum -y install openblas-devel 003、检测效果 make install 。
阅读全文
摘要: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++程序。它包含了大量高效的数学函数,适用于各种科学计算任务。
阅读全文