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 is the use of the hidden files?
What does grep v grep do?
What is the nmap command?
How to replace the exact word in vi editor?? suppose a file contains words like amaze,amazed,amazement in some of the line.But i want to replace only 'amaze' with delight but don't wanna replace amazed or amazement. thanks
6 Answers Polaris, Tech Mahindra,
who to change the duplex setting of network interface in command line
Differentiate cat command from more command.
what these two commands prints "echo test","cat test"?
in a growing log file how will you see the 1st 99 lines?
distinguish between user mode and kernel mode?
How do you find path of a directory? Give its syntax.
Which unix command lists files/folders in alphabetical order?
what are wild cards?