You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
605 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

head
===
在屏幕上显示指定文件的开头若干行
## 补充说明
**head命令** 用于显示文件的开头的内容。在默认情况下head命令显示文件的头10行内容。
### 语法
```
head(选项)(参数)
```
### 选项
```
-n<数字>:指定显示头部内容的行数;
-c<字符数>:指定显示头部内容的字符数;
-v总是显示文件名的头信息
-q不显示文件名的头信息。
```
### 参数
文件列表:指定显示头部内容的文件列表。
<!-- Linux命令行搜索引擎https://jaywcjlove.github.io/linux-command/ -->