随笔分类 -  ⑤linux文件属性

摘要:Linux下的三个时间,分别是:atime,mtime,ctime,它们的区别是 名称 全名 中文名称 解释 atime access time 访问时间 文件中的数据库最后被访问的时间 mtime modify time 修改时间 文件内容被修改的最后时间 ctime change time 变化 阅读全文
posted @ 2022-04-12 11:29 老夫聊发少年狂88 阅读(155) 评论(0) 推荐(0)
摘要:硬链接不支持创建目录 不支持分区 [root@rstx-53 test]# echo 1 > test [root@rstx-53 test]# ln test test1 [root@rstx-53 test]# ll -rw-r--r-- 2 root root 2 Mar 1 22:52 te 阅读全文
posted @ 2021-03-01 22:50 老夫聊发少年狂88 阅读(70) 评论(0) 推荐(0)
摘要:又称符号链接 [root@rstx-53 ~]# ln -s file/ file2 [root@rstx-53 ~]# ll file* lrwxrwxrwx 1 root root 5 Mar 1 22:36 file2 -> file/ file: [root@rstx-53 ~]# ll d 阅读全文
posted @ 2021-03-01 22:47 老夫聊发少年狂88 阅读(121) 评论(0) 推荐(0)
摘要:#####- 文件 #####d 目录 #####b 磁盘/分区 #####c 字符设备 #####l 链接文件 软链接文件 #####p 管道文件 阅读全文
posted @ 2021-03-01 22:31 老夫聊发少年狂88 阅读(42) 评论(0) 推荐(0)