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
Can you explain a little bit about command substitution?
What does grep v do?
What is the significance of the 'tee' command?
Write a command that will display files in the current directory, in a colored, long format.
What is a command and examples?
Which command is used to copy files?
Explain command to view process running?
What is the use of cut command in unix?
What happens when we execute a unix command?
How does the system know where one command ends and another begins?
What is the use of tee command?
What are the unix commands?
What is the first character of the output in ls l command?
What is merge command in unix?
What are some command words?