From 0833e8e8d9ec552b2aa1dd94653957002049ba5e Mon Sep 17 00:00:00 2001 From: Agniva De Sarker Date: Mon, 16 Oct 2017 11:37:39 +0530 Subject: [PATCH] stat: update osx variant - Fix a minor grammar error - Removed the file permissions example and only kept the file owner and group. --- pages/osx/stat.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pages/osx/stat.md b/pages/osx/stat.md index 81407a38a..a1a2b0cce 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}}`