How to use "head" in ubuntu terminal to see first 10 lines of manual

keyhha :

I have one questio:

How to use "head" in ubuntu terminal to see first 10 lines of manual E.g. head of grep manual.

I tried somethink like:

head man grep
Kryten :
man grep | head

The pipe (|) is used to redirect output from one command to input for another command. So this command takes the output of man grep and provides it as input to head.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=398319&siteId=1