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 difference between relative path and absolute path?
What does 'mkdir' command do in UNIX?
which command is used to identify the type of the file?
How to display no of records in oracle using unix command?
in UNIX,How to copy file into directory?
How does shebang work?
How do I delete files from command prompt?
How do you repeat a command in terminal?
what do you understand bythe term 'de-mountable volumes'?
Explain how to use grep command to list find the records of a file containing 10 different strings?
What is the functionality of a top command?
How do I use grep to search for a file?