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
Explain command to show the space allocation of files?
How do I run a bash script?
What command will change your prompt to myprompt?
Why is shebang used?
What are grep patterns?
What do chmod command do?
How many unix commands are there?
Name the unix command to find how many days the server has been up.
What is the functionality of a top command?
What is the pipe command?
What is updatedb?
Which command should you use to find the remaining disk space in unix server?
Which command is used to kill the last background job?
What does the “echo” command do?
What is the comma to show the space allocation of files?