您当前的位置: 首页 > 网络技术  > 服务器教程 浏览
linux命令如何查看文件属性大小
发布时间:2015-12-12    点击率:89次    来源:www.sytcke.com    作者:电脑技术学习网

   [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是文件的修改时间。但是至于被谁修改过是看不出来的。

来源 电脑技术网 www.sytcke.com
发表留言
发表留言请先登录!
免责声明:本站发布的信息和评论纯属网民个人行为,并不代表本站立场,如发现有违法信息或侵权行为,请直接与本站管理员联系,我们将在收到您的信息后24小时内作出处理!