mirror of https://github.com/CrimsonTome/tldr.git
Merge branch 'Parth-Mehrotra-master'
commit
c3bc91c813
|
@ -4,16 +4,16 @@
|
||||||
|
|
||||||
- Output the first few lines of a file
|
- Output the first few lines of a file
|
||||||
|
|
||||||
`head -n {{count of lines}} {{filename}}`
|
`head -n {{count_of_lines}} {{filename}}`
|
||||||
|
|
||||||
- Output the first few bytes of a file
|
- Output the first few bytes of a file
|
||||||
|
|
||||||
`head -c {{size in kilobytes}} {{filename}}`
|
`head -c {{size_in_bytes}} {{filename}}`
|
||||||
|
|
||||||
- Output everything but the last few lines of a file
|
- Output everything but the last few lines of a file
|
||||||
|
|
||||||
`head -n -{{count of lines}} {{filename}}`
|
`head -n -{{count_of_lines}} {{filename}}`
|
||||||
|
|
||||||
- Output everything but the last few bytes of a file
|
- Output everything but the last few bytes of a file
|
||||||
|
|
||||||
`head -c -{{size in kilobytes}} {{filename}}`
|
`head -c -{{size_in_bytes}} {{filename}}`
|
||||||
|
|
|
@ -4,8 +4,8 @@
|
||||||
|
|
||||||
- Output the first few lines of a file
|
- Output the first few lines of a file
|
||||||
|
|
||||||
`head -n {{count of lines}} {{filename}}`
|
`head -n {{count_of_lines}} {{filename}}`
|
||||||
|
|
||||||
- Output the first few bytes of a file
|
- Output the first few bytes of a file
|
||||||
|
|
||||||
`head -c {{number in kilobytes}} {{filename}}`
|
`head -c {{number_in_bytes}} {{filename}}`
|
||||||
|
|
Loading…
Reference in New Issue