mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 13:53:52 +02:00
stat: update osx variant
- Fix a minor grammar error - Removed the file permissions example and only kept the file owner and group.
This commit is contained in:
parent
6dd84e41fe
commit
0833e8e8d9
1 changed files with 5 additions and 5 deletions
|
@ -6,18 +6,18 @@
|
|||
|
||||
`stat {{file}}`
|
||||
|
||||
- Same as a but verbose (more similar to linux's `stat`:
|
||||
- Same as above but verbose (more similar to linux's `stat`):
|
||||
|
||||
`stat -x {{file}}`
|
||||
|
||||
- Use stat to show only octal file permissions:
|
||||
- Show only octal file permissions:
|
||||
|
||||
`stat -f %Mp%Lp {{file}}`
|
||||
|
||||
- Show octal file permissions, name and group of the file owner:
|
||||
- Show owner and group of the file:
|
||||
|
||||
`stat -f "%Mp%Lp %N %Su %Sg" {{file}}`
|
||||
`stat -f "%Su %Sg" {{file}}`
|
||||
|
||||
- Show the size in bytes of the file:
|
||||
- Show the size of the file in bytes:
|
||||
|
||||
`stat -f "%z %N" {{file}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue