上一页 1 2 3 4 5 6 7 ··· 410 下一页
摘要: 001、 [root@localhost test]# ls [root@localhost test]# seq 10 > a.txt [root@localhost test]# ls a.txt [root@localhost test]# openssl enc -aes-256-cbc - 阅读全文
posted @ 2025-12-22 20:21 小鲨鱼2018 阅读(7) 评论(0) 推荐(0)
摘要: 001、 [root@localhost test]# ls [root@localhost test]# seq 10 > a.txt ## 测试文件 [root@localhost test]# ls a.txt [root@localhost test]# md5sum a.txt > xxx 阅读全文
posted @ 2025-12-21 21:34 小鲨鱼2018 阅读(5) 评论(0) 推荐(0)
摘要: 001、 [b20223040323@admin2 test10]$ ls test.c [b20223040323@admin2 test10]$ cat test.c ## 源代码 #include <stdio.h> int main(void) { printf("hello world\n 阅读全文
posted @ 2025-12-15 12:58 小鲨鱼2018 阅读(4) 评论(0) 推荐(0)
摘要: 001、ldd --version ## ldd 本身是由 glibc 提供的一个脚本/程序,它的版本与 glibc 绑定,所以用 --version 就能显示 glibc 的版本。 [root@PC1 test]# ldd --version ## ldd(list dynamic depende 阅读全文
posted @ 2025-12-15 11:57 小鲨鱼2018 阅读(23) 评论(0) 推荐(0)
摘要: 001、Linux 中 find命令指定多目录查找文件 [root@PC1 test]# find /lib -name "libc.so.6" ## 单目录 [root@PC1 test]# find /lib /usr/lib /usr/lib64 -name "libc.so.6" ## 指定 阅读全文
posted @ 2025-12-15 11:42 小鲨鱼2018 阅读(17) 评论(0) 推荐(0)
摘要: 如何理解Linux 系统中一切皆是文件? 阅读全文
posted @ 2025-12-15 11:28 小鲨鱼2018 阅读(3) 评论(0) 推荐(0)
摘要: 001、boot:启动文件 002、dev: 设备文件 003、etc:配置文件 004、home:用于家目录 005、lib:共享库; lib64共享库;lib 和 lib64 都是存放“共享库(.so)”的目录,区别主要在于支持的 CPU 架构位数不同;lib存放 32 位程序使用的共享库;li 阅读全文
posted @ 2025-12-15 10:17 小鲨鱼2018 阅读(13) 评论(0) 推荐(0)
摘要: Linux 中动态链接库和静态链接库的区别与联系 001、名称差异 静态库:.a 动态库:.so 002、核心区别: 一、基本定义(一句话版) ✅ 静态链接库(Static Library) 在链接阶段被完整拷贝进可执行文件 常见文件名:libxxx.a ✅ 动态链接库(Shared / Dynam 阅读全文
posted @ 2025-12-15 09:33 小鲨鱼2018 阅读(12) 评论(0) 推荐(0)
摘要: 001、 基础用法 [root@localhost test]# printf "%s\n" "hello" ##输出字符串hello hello 002、指定输出字符串宽度 [root@localhost test]# printf "%s\n" "hello" hello [root@local 阅读全文
posted @ 2025-12-14 21:10 小鲨鱼2018 阅读(13) 评论(0) 推荐(0)
摘要: 001、 [root@localhost test]# ls a.txt [root@localhost test]# cat a.txt ## 测试文本 a 01 02 03 04 a 05 02 07 08 a 09 10 11 12 a 13 14 15 16 b 17 18 19 20 b 阅读全文
posted @ 2025-12-14 12:58 小鲨鱼2018 阅读(12) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 410 下一页