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
How do I use grep to find a file?
What does the md command do?
What is the use of the command 'ls -x chapter[1-5]' ?
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
What's a command word?
Explain command to view process running?
why metadb requires a seperate slice to create Solaris volume manager
What is the use of find command in unix?
What are some command words?
Is command prompt unix?
Explain command to display different lines that are found when compare two files?
What happens when we execute a unix command?
What is the unix command to confirm a remote host is alive or not?
Are you in or at the office?
What is awk good for?