From a3d30c0a0dfc308d3907cf681f2438c4505bd13b Mon Sep 17 00:00:00 2001 From: Emily Grace Seville Date: Wed, 19 Jan 2022 07:21:30 -0800 Subject: [PATCH] head: refresh page (#7680) --- pages/common/head.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/common/head.md b/pages/common/head.md index c7f8d3787..358fcff6a 100644 --- a/pages/common/head.md +++ b/pages/common/head.md @@ -5,16 +5,16 @@ - Output the first few lines of a file: -`head -n {{count_of_lines}} {{filename}}` +`head --lines {{count}} {{path/to/file}}` - Output the first few bytes of a file: -`head -c {{size_in_bytes}} {{filename}}` +`head --bytes {{count}} {{path/to/file}}` - Output everything but the last few lines of a file: -`head -n -{{count_of_lines}} {{filename}}` +`head --lines -{{count}} {{path/to/file}}` - Output everything but the last few bytes of a file: -`head -c -{{size_in_bytes}} {{filename}}` +`head --bytes -{{count}} {{path/to/file}}`