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 |
How many bits use for MAC address?
What is the use of finger command?
How to display no of records in oracle using unix command?
How to get the operating system's information in unix?
What does 'mkdir' command do in UNIX?
distinguish between paging and swapping?
in unix echo is used for
10 Answers BFL, BirlaSoft, Patni,
How do you list the files in an UNIX directory while also showing hidden files?
in UNIX,How to copy file into directory?
how to sort the content of the file based on numeric values
What are the dos commands?
What are filter commands in unix?