热门问题
时间线
聊天
视角

Stat (Unix)

来自维基百科,自由的百科全书

Remove ads

stat命令,用於展示文件或文件系統的狀態。[1]

使用方法

概要

stat [OPTION]... FILE...

描述

$ stat /bin/sh
  File: ‘/bin/sh’ -> ‘bash’
  Size: 4               Blocks: 0          IO Block: 4096   symbolic link
Device: 801h/2049d      Inode: 100737165   Links: 1
Access: (0777/lrwxrwxrwx)  Uid: (    0/    root)   Gid: (    0/    root)
Context: system_u:object_r:bin_t:s0
Access: 2020-01-20 10:15:57.415000000 +0900
Modify: 2019-12-02 19:16:31.683312481 +0900
Change: 2019-12-02 19:16:31.683312481 +0900
 Birth: -

欄位描述如下:[2]

更多資訊 輸出資訊, 標籤 ...

參考文件

Loading content...
Loading related searches...

Wikiwand - on

Seamless Wikipedia browsing. On steroids.

Remove ads