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
How do I use grep to find a file?
How to display no of records in oracle using unix command?
What does 'mkdir' command do in UNIX?
What is the behavioural difference between cmp and diff commands?
What is grep command in unix with examples?
What is the use of finger command?
How to find $ai_serual resolved path by using unix
What does the “echo” command do?
Write a command that will display files in the current directory, in a colored, long format.
How many unix commands are there?
Why is it called grep?
Why is shebang used?
Why is grep called grep?
Explain mount and unmount command.
What is the use of egrep command in unix?