个人技术分享

[root@rhel /]# stat a.txt
  文件:a.txt
  大小:0             块:0          IO 块:4096   普通空文件
设备:fd00h/64768d    Inode:444753      硬链接:1
权限:(0644/-rw-r--r--)  Uid:(    0/    root)   Gid:(    0/    root)
环境:unconfined_u:object_r:etc_runtime_t:s0
最近访问:2024-06-02 15:15:33.000000000 +0800
最近更改:2024-06-02 15:15:33.000000000 +0800
最近改动:2024-06-02 15:39:53.488613915 +0800
创建时间:2024-06-02 15:39:53.488613915 +0800
[root@rhel /]# ls -al a.txt
-rw-r--r--. 1 root root 0  6月  2 15:15 a.txt
[root@rhel /]# chmod u+x a.txt
[root@rhel /]# stat a.txt
  文件:a.txt
  大小:0             块:0          IO 块:4096   普通空文件
设备:fd00h/64768d    Inode:444753      硬链接:1
权限:(0744/-rwxr--r--)  Uid:(    0/    root)   Gid:(    0/    root)
环境:unconfined_u:object_r:etc_runtime_t:s0
最近访问:2024-06-02 15:15:33.000000000 +0800
最近更改:2024-06-02 15:15:33.000000000 +0800
最近改动:2024-06-02 16:13:18.542018250 +0800
创建时间:2024-06-02 15:39:53.488613915 +0800
[root@rhel /]# date
2024年 06月 02日 星期日 16:13:26 CST
[root@rhel /]# cat a.txt
[root@rhel /]# stat a.txt
  文件:a.txt
  大小:0             块:0          IO 块:4096   普通空文件
设备:fd00h/64768d    Inode:444753      硬链接:1
权限:(0744/-rwxr--r--)  Uid:(    0/    root)   Gid:(    0/    root)
环境:unconfined_u:object_r:etc_runtime_t:s0
最近访问:2024-06-02 16:14:16.450603919 +0800
最近更改:2024-06-02 15:15:33.000000000 +0800
最近改动:2024-06-02 16:13:18.542018250 +0800
创建时间:2024-06-02 15:39:53.488613915 +0800
[root@rhel /]# date
2024年 06月 02日 星期日 16:14:26 CST
[root@rhel /]# vim a.txt
[root@rhel /]# stat a.txt
  文件:a.txt
  大小:0             块:0          IO 块:4096   普通空文件
设备:fd00h/64768d    Inode:444753      硬链接:1
权限:(0744/-rwxr--r--)  Uid:(    0/    root)   Gid:(    0/    root)
环境:unconfined_u:object_r:etc_runtime_t:s0
最近访问:2024-06-02 16:14:16.450603919 +0800
最近更改:2024-06-02 15:15:33.000000000 +0800
最近改动:2024-06-02 16:13:18.542018250 +0800
创建时间:2024-06-02 15:39:53.488613915 +0800
[root@rhel /]# vim a.txt
[root@rhel /]# stat a.txt
  文件:a.txt
  大小:14            块:8          IO 块:4096   普通文件
设备:fd00h/64768d    Inode:693379      硬链接:1
权限:(0744/-rwxr--r--)  Uid:(    0/    root)   Gid:(    0/    root)
环境:unconfined_u:object_r:etc_runtime_t:s0
最近访问:2024-06-02 16:16:43.511877614 +0800
最近更改:2024-06-02 16:16:43.511877614 +0800
最近改动:2024-06-02 16:16:43.516830329 +0800
创建时间:2024-06-02 16:16:43.511877614 +0800
[root@rhel /]# date
2024年 06月 02日 星期日 16:16:49 CST
[root@rhel /]# stat a.txt
  文件:a.txt
  大小:14            块:8          IO 块:4096   普通文件
设备:fd00h/64768d    Inode:693379      硬链接:1
权限:(0744/-rwxr--r--)  Uid:(    0/    root)   Gid:(    0/    root)
环境:unconfined_u:object_r:etc_runtime_t:s0
最近访问:2024-06-02 16:16:43.511877614 +0800
最近更改:2024-06-02 16:16:43.511877614 +0800
最近改动:2024-06-02 16:16:43.516830329 +0800
创建时间:2024-06-02 16:16:43.511877614 +0800
[root@rhel /]# vim a.txt
[root@rhel /]# date
2024年 06月 02日 星期日 16:17:55 CST
[root@rhel /]# stat a.txt
  文件:a.txt
  大小:22            块:8          IO 块:4096   普通文件
设备:fd00h/64768d    Inode:693378      硬链接:1
权限:(0744/-rwxr--r--)  Uid:(    0/    root)   Gid:(    0/    root)
环境:unconfined_u:object_r:etc_runtime_t:s0
最近访问:2024-06-02 16:17:52.497930341 +0800
最近更改:2024-06-02 16:17:52.497930341 +0800
最近改动:2024-06-02 16:17:52.500027815 +0800
创建时间:2024-06-02 16:17:52.497930341 +0800
[root@rhel /]#