当前位置: 首页 » 产品 » 微商货源 » 正文

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

放大字体  缩小字体 发布日期: 2025-04-21 14:18   来源:http://www.baidu.com/  作者:无忧资讯  浏览次数:30
核心提示:  [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@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是文件的修改时间。但是至于被谁修改过是看不出来的。

内容来源:
 
 
[ 产品搜索 ]  [ 加入收藏 ]  [ 告诉好友 ]  [ 打印本文 ]  [ 违规举报 ]  [ 关闭窗口 ]

 

 
    行业协会  备案信息  可信网站