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:
@@ -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}}`
|
||||
|
Reference in New Issue
Block a user