随笔分类 -  linux shell

上一页 1 2 3 4 5 6 7 8 9 ··· 77 下一页
摘要:001、Linux中ld命令是链接命令,其作用是将链接文件(经过编译和汇编后的机器码文件)和库文件整合为可执行文件或者是库文件。 ld(Link eDitor)命令是二进制工具集GNU Binutils的一员,是GNU链接器,用于将目标文件与库链接为可执行文件或库文件。 002、 (base) [r 阅读全文
posted @ 2024-12-13 12:03 小鲨鱼2018 阅读(160) 评论(0) 推荐(0)
摘要:001、查看系统 [root@PC1 ~]# cat /etc/redhat-release Rocky Linux release 9.4 (Blue Onyx) 002、查看是否有可用的安装包 [root@PC1 ~]# yum list | grep "openblas" ## 没有可用的op 阅读全文
posted @ 2024-12-13 11:13 小鲨鱼2018 阅读(121) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2024-12-11 17:55 小鲨鱼2018 阅读(37) 评论(0) 推荐(0)
摘要:001、配置报错如下: checking whether PCRE support suffices... yes checking for curl-config... /root/anaconda3/bin/curl-config ## 用的是conda中的cure checking libcu 阅读全文
posted @ 2024-12-10 16:31 小鲨鱼2018 阅读(231) 评论(0) 推荐(0)
摘要:000、pcre是什么? perl正则表达式函数库 ‌PCRE(Perl Compatible Regular Expressions)是一个用C语言编写的正则表达式函数库,由菲利普·海泽(Philip Hazel)编写‌。 001、问题 configure: error: PCRE2 librar 阅读全文
posted @ 2024-12-10 15:44 小鲨鱼2018 阅读(192) 评论(0) 推荐(0)
摘要:01、基础用法,获取路径中的最后一个字段 [root@PC1 test]# echo $PWD /home/test [root@PC1 test]# basename $PWD ## 基本用法, 获取路径的最后一个字段 test [root@PC1 test]# basename /home/xx 阅读全文
posted @ 2024-12-10 09:15 小鲨鱼2018 阅读(173) 评论(0) 推荐(0)
摘要: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. 阅读全文
posted @ 2024-12-09 23:22 小鲨鱼2018 阅读(116) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2024-12-09 23:07 小鲨鱼2018 阅读(14) 评论(0) 推荐(0)
摘要:001、问题 /usr/bin/ld: cannot find -lopenblas 。 002、解决方法 yum -y install epel-release yum -y install openblas-devel 003、检测效果 make install 。 阅读全文
posted @ 2024-12-07 19:29 小鲨鱼2018 阅读(23) 评论(0) 推荐(0)
摘要:c语言中作用域和存储期的区别 阅读全文
posted @ 2024-12-07 13:01 小鲨鱼2018 阅读(12) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2024-12-04 09:26 小鲨鱼2018 阅读(50) 评论(0) 推荐(0)
摘要:rocky9中boast的安装。 01、 boost 是一个跨平台的 c++ 库集合,它提供了许多功能和工具,用于在 linux 上开发高性能的应用程序。 02、下载最新版的boost https://www.boost.org/users/download/ 03、安装依赖环境 yum -y in 阅读全文
posted @ 2024-12-04 08:44 小鲨鱼2018 阅读(182) 评论(0) 推荐(0)
摘要:如何在Linux系统中设置Boost库的环境变量? https://www.kdun.com/ask/1334132.html 阅读全文
posted @ 2024-12-04 00:29 小鲨鱼2018 阅读(29) 评论(0) 推荐(0)
摘要:‌GSL(GNU Scientific Library)是一个开源的科学计算库,主要用于C和C++程序。它包含了大量高效的数学函数,适用于各种科学计算任务‌‌。 阅读全文
posted @ 2024-12-04 00:15 小鲨鱼2018 阅读(80) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2024-12-03 23:41 小鲨鱼2018 阅读(1191) 评论(0) 推荐(0)
摘要:001、 ctrl + u 阅读全文
posted @ 2024-11-24 16:40 小鲨鱼2018 阅读(43) 评论(0) 推荐(0)
摘要:001、 002、 003、 前景色全部改为0 004、 背景色全部改为255 。 阅读全文
posted @ 2024-11-23 11:40 小鲨鱼2018 阅读(452) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2024-11-07 23:56 小鲨鱼2018 阅读(36) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2024-11-06 00:39 小鲨鱼2018 阅读(45) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2024-11-05 23:54 小鲨鱼2018 阅读(145) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 8 9 ··· 77 下一页