diff --git a/pages/osx/stat.md b/pages/osx/stat.md index 81407a38a5..a1a2b0cced 100644 --- a/pages/osx/stat.md +++ b/pages/osx/stat.md @@ -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}}`