소스 검색

head: refresh page (#7680)

Emily Grace Seville 3 년 전
부모
커밋
a3d30c0a0d
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      pages/common/head.md

+ 4 - 4
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}}`