摘要: #一、代码 #include <stdio.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> #include <stdlib.h> #include <errno.h> #i 阅读全文
posted @ 2022-10-15 11:38 戴骏 阅读(19) 评论(0) 推荐(0) 编辑
摘要: #一、stat(1) **stat作用:**用来显示文件的详细信息,包括inode, atime, mtime, ctime **stat格式:**stat [OPTION]…FILE… stat命令格式: -L:显示符号链接 -f:显示文件所在的文件系统信息 -t:以简洁的方式输出摘要信息 sta 阅读全文
posted @ 2022-10-15 11:22 戴骏 阅读(94) 评论(0) 推荐(0) 编辑