diff --git a/pages/osx/head.md b/pages/osx/head.md index 78fa4e7c49..2c5907eebf 100644 --- a/pages/osx/head.md +++ b/pages/osx/head.md @@ -3,18 +3,18 @@ > Output the first part of files. > More information: . -- Output the first few lines of a file: +- Output the first 10 lines of a file: -`head {{[-n|--lines]}} {{8}} {{path/to/file}}` +`head {{path/to/file}}` -- Output the first few bytes of a file: +- Output the first 5 lines of multiple files: -`head {{[-c|--bytes]}} {{8}} {{path/to/file}}` +`head {{[-5|--lines 5]}} {{path/to/file1 path/to/file2 ...}}` -- Output everything but the last few lines of a file: +- Output the first `count` lines of a file: -`head {{[-n|--lines]}} -{{8}} {{path/to/file}}` +`head {{[-n|--lines]}} {{count}} {{path/to/file}}` -- Output everything but the last few bytes of a file: +- Output the first n `bytes` of a file: -`head {{[-c|--bytes]}} -{{8}} {{path/to/file}}` +`head {{[-c|--bytes]}} {{bytes}} {{path/to/file}}`