If we want to see first 35 lines of a file which command we
have to use?

Answer Posted / pitambar mishra

head -35 filename

awk 'NR<=35 {print}' filename

sed '35 q' filename
sed -n '1,35 p' filename

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you explain a little bit about command substitution?

619


What does grep v do?

564


What is the significance of the 'tee' command?

600


Write a command that will display files in the current directory, in a colored, long format.

690


What is a command and examples?

593






Which command is used to copy files?

566


Explain command to view process running?

621


What is the use of cut command in unix?

702


What happens when we execute a unix command?

604


How does the system know where one command ends and another begins?

1586


What is the use of tee command?

578


What are the unix commands?

563


What is the first character of the output in ls l command?

638


What is merge command in unix?

949


What are some command words?

571