From bfaee1a34b27361ca395bde3d37bba37c8a6f513 Mon Sep 17 00:00:00 2001 From: Irina <91758930+iridacea@users.noreply.github.com> Date: Wed, 26 Oct 2022 11:21:47 +0300 Subject: [PATCH] stat: change to full path in token (#9346) --- pages/common/stat.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pages/common/stat.md b/pages/common/stat.md index 4a285227b0..90f3bdff4a 100644 --- a/pages/common/stat.md +++ b/pages/common/stat.md @@ -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}}`