会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
小鲨鱼2018
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
···
410
下一页
2025年12月22日
Linux 中 对文件进行加密
摘要: 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)
2025年12月21日
Linux 中md5sum -c 参数
摘要: 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)
2025年12月15日
编译、汇编、链接
摘要: 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)
Linux 中如何查看GNU C库的版本
摘要: 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)
Linux 中 find命令指定多目录查找文件
摘要: 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 系统中一切皆是文件?
摘要: 如何理解Linux 系统中一切皆是文件?
阅读全文
posted @ 2025-12-15 11:28 小鲨鱼2018
阅读(3)
评论(0)
推荐(0)
Linux 中各级主目录的主要作用
摘要: 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 中动态链接库和静态链接库的区别与联系
摘要: Linux 中动态链接库和静态链接库的区别与联系 001、名称差异 静态库:.a 动态库:.so 002、核心区别: 一、基本定义(一句话版) ✅ 静态链接库(Static Library) 在链接阶段被完整拷贝进可执行文件 常见文件名:libxxx.a ✅ 动态链接库(Shared / Dynam
阅读全文
posted @ 2025-12-15 09:33 小鲨鱼2018
阅读(12)
评论(0)
推荐(0)
2025年12月14日
Linux 中格式化字符串函数printf
摘要: 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)
Linux 中sed命令多条件匹配提取数据
摘要: 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
下一页
公告