mirror of https://github.com/CrimsonTome/tldr.git
stat: change to full path in token (#9346)
parent
6d985bc5ae
commit
bfaee1a34b
|
@ -5,24 +5,24 @@
|
|||
|
||||
- Show file properties such as size, permissions, creation and access dates among others:
|
||||
|
||||
`stat {{file}}`
|
||||
`stat {{path/to/file}}`
|
||||
|
||||
- Same as above but in a more concise way:
|
||||
|
||||
`stat -t {{file}}`
|
||||
`stat -t {{path/to/file}}`
|
||||
|
||||
- Show filesystem information:
|
||||
|
||||
`stat -f {{file}}`
|
||||
`stat -f {{path/to/file}}`
|
||||
|
||||
- Show only octal file permissions:
|
||||
|
||||
`stat -c "%a %n" {{file}}`
|
||||
`stat -c "%a %n" {{path/to/file}}`
|
||||
|
||||
- Show owner and group of the file:
|
||||
|
||||
`stat -c "%U %G" {{file}}`
|
||||
`stat -c "%U %G" {{path/to/file}}`
|
||||
|
||||
- Show the size of the file in bytes:
|
||||
|
||||
`stat -c "%s %n" {{file}}`
|
||||
`stat -c "%s %n" {{path/to/file}}`
|
||||
|
|
Loading…
Reference in New Issue