head: refresh page (#7680)

feature/windows-fix-syntax-2
Emily Grace Seville 2022-01-19 07:21:30 -08:00 committed by GitHub
parent e5a1aa1ec2
commit a3d30c0a0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -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}}`