上一页 1 ··· 79 80 81 82 83 84 85 86 87 ··· 407 下一页
摘要: 001、make命令报错如下: "none" is not exported by the List::Util module 002、解决方法 将 /usr/local/bin/automake-1.16文件的76行中的 ‘none’删除 (base) [root@pc1 build]# sed 阅读全文
posted @ 2023-11-03 16:14 小鲨鱼2018 阅读(403) 评论(0) 推荐(0)
摘要: 001、报错如下: 002、解决方法 在3694行 的末尾加上 --no-discard-stderr sed -i '3694 s/$/ --no-discard-stderr /' Makefile ## 在3694末尾添加上--no-discard-stderr, -i表示在原文中添加 003 阅读全文
posted @ 2023-11-02 22:07 小鲨鱼2018 阅读(216) 评论(0) 推荐(0)
摘要: 001、报错如下:/home/software/TRF/missing: line 81: aclocal-1.16: command not found 002、解决方法 下载automake: 官网:https://mirrors.sjtug.sjtu.edu.cn/gnu/automake/? 阅读全文
posted @ 2023-11-02 22:01 小鲨鱼2018 阅读(1194) 评论(0) 推荐(0)
摘要: 001、打包只指定目录 [root@pc1 test]# ls a.txt b.map c.ped dir1 [root@pc1 test]# ls dir1/ [root@pc1 test]# tar -cf ./dir1/xx.tar a.txt b.map c.ped ## 打包至指定的目录 阅读全文
posted @ 2023-10-31 22:22 小鲨鱼2018 阅读(1769) 评论(0) 推荐(0)
摘要: 001、 [root@pc1 test]# for i in ab8 ab23 ab98; do echo $i; done ## 直接迭代 ab8 ab23 ab98 [root@pc1 test]# for i in ab{8,23,98}; do echo $i; done ## 可以写成如下 阅读全文
posted @ 2023-10-31 21:50 小鲨鱼2018 阅读(37) 评论(0) 推荐(0)
摘要: 001、 [root@pc1 test]# ls ## 两个测试文件 a.txt b.txt [root@pc1 test]# cat a.txt 01 02 03 04 05 06 07 08 09 10 11 12 [root@pc1 test]# cat b.txt a b c [root@p 阅读全文
posted @ 2023-10-31 21:45 小鲨鱼2018 阅读(48) 评论(0) 推荐(0)
摘要: #!/usr/bin/env 告诉计算机用什么程序执行该脚本。 001、测试两个程序 [root@pc1 test]# ls ## 两个测试程序 test2.py test.py [root@pc1 test]# cat test.py ## 程序1 print('hello world') [ro 阅读全文
posted @ 2023-10-31 15:56 小鲨鱼2018 阅读(66) 评论(0) 推荐(0)
摘要: 001、 linux 中 strings命令 主要是在对象文件或者二进制文件中查找可打印的字符串。 002、举例 (base) [b20223040323@admin1 ~]$ strings /bin/ls | head /lib64/ld-linux-x86-64.so.2 libselinux 阅读全文
posted @ 2023-10-31 13:15 小鲨鱼2018 阅读(267) 评论(0) 推荐(0)
摘要: 001、python程序报错如下: 002、问题分析 a、调用的是python程序 b、libstdc++.so.6是c++标准库 执行python程序时,需要调用c++标准库,libstdc++.so.6(lib = glib, 6 表示第6版),版本不匹配报错,无法找到:GLIBCXX_3.4. 阅读全文
posted @ 2023-10-31 10:19 小鲨鱼2018 阅读(1086) 评论(0) 推荐(0)
摘要: 001、 Ldd: linux 系统中的一个测试工具,用于查看可执行文件或者共享库文件所依赖的动态链接库. 主要用于协助分析和解决程序运行时的依赖关系。 动态链接库? 002、举例 ldd 003、解决依赖关系 a、安装相应的软件包来获取缺失的动态链接库 比如红帽系列使用yum命令、ubuntu中使 阅读全文
posted @ 2023-10-31 09:42 小鲨鱼2018 阅读(289) 评论(0) 推荐(0)
上一页 1 ··· 79 80 81 82 83 84 85 86 87 ··· 407 下一页