If we want to see first 35 lines of a file which command we
have to use?
Answers were Sorted based on User's Feedback
Answer / 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 |
what these two commands prints "echo test","cat test"?
Differentiate cat command from more command.
What is the difference between cat command and more command?
Why we are using UNIX OS when we are doing the testing in our application?
How do I run a whois command?
Which is the command used to find out currently executing Process in UNIX?
what are the different hardwares available?
What are awk commands?
what are processor execution levels and priorities?
How do I run a bash script?
what is the difference between relative path and absolute path?
What are Unix processes, and how do you manage them?