add new chinese translations
This commit is contained in:
28
pages.zh/common/stat.md
Normal file
28
pages.zh/common/stat.md
Normal file
@@ -0,0 +1,28 @@
|
||||
# stat
|
||||
|
||||
> 显示文件和文件系统信息。
|
||||
> 更多信息请访问: <https://www.gnu.org/software/coreutils/manual/html_node/stat-invocation.html>。
|
||||
|
||||
- 显示特定文件的属性,如大小、权限、创建和访问日期等:
|
||||
|
||||
`stat {{path/to/file}}`
|
||||
|
||||
- 显示特定文件的属性,如大小、权限、创建和访问日期等,且不带标签:
|
||||
|
||||
`stat --terse {{path/to/file}}`
|
||||
|
||||
- 显示特定文件所在文件系统的信息:
|
||||
|
||||
`stat --file-system {{path/to/file}}`
|
||||
|
||||
- 仅显示八进制文件权限:
|
||||
|
||||
`stat --format="%a %n" {{path/to/file}}`
|
||||
|
||||
- 显示特定文件的所有者和组:
|
||||
|
||||
`stat --format="%U %G" {{path/to/file}}`
|
||||
|
||||
- 显示特定文件的大小(以字节为单位):
|
||||
|
||||
`stat --format="%s %n" {{path/to/file}}`
|
Reference in New Issue
Block a user