上一页 1 ··· 79 80 81 82 83 84 85 86 87 ··· 408 下一页
摘要: 001、 (base) [root@pc1 test02]# ls a.txt (base) [root@pc1 test02]# cat a.txt ## 测试文件 use File::Basename; use File::Spec; use List::Util 'none'; use "Ca 阅读全文
posted @ 2023-11-03 16:35 小鲨鱼2018 阅读(346) 评论(0) 推荐(0)
摘要: 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 阅读(1195) 评论(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)
上一页 1 ··· 79 80 81 82 83 84 85 86 87 ··· 408 下一页