首页 > 系统 > Linux > 正文

linux命令如何查看文件属性大小

2020-05-27 13:10:57
字体:
来源:转载
供稿:网友

   [root@localhost ~]# ll

  total 88

  -rw-r--r-- 1 root root 1022 Feb 13 16:07 anaconda-ks.cfg

  drwxr-xr-x 2 root root 4096 Feb 13 16:07 Desktop

  -rw-r--r-- 1 root root 49229 Feb 13 16:07 install.log

  -rw-r--r-- 1 root root 5133 Feb 13 16:06 install.log.syslog

  -rw-r--r-- 1 root root 7 May 2 05:28 test

  [root@localhost ~]#

  下面以其中一行讲解:

  -rw-r--r-- 1 root root 1022 Feb 13 16:07 anaconda-ks.cfg

  -rw-r--r-- 1 root root 1022这些都是文件的属性,包括文件的属主、属组和其他组的权限,属主和属组的名称,1022表示文件的大小,Feb 13 16:07是文件的修改时间。但是至于被谁修改过是看不出来的。

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表