how to find the 51th record of a file containing 100 records
in unix.
Answer Posted / dinesh kumar
awk 'NR=51 Printf{$0}' filename
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What is the comma to display different lines that are found when compare two files?
How do I clear my terminal history?
Is command prompt unix?
What is ctrl d?
why metadb requires a seperate slice to create Solaris volume manager
What is the use of the tee command?
Which command should you use to find the remaining disk space in unix server?
Is it inbetween or in between?
How do I open a port?
Why is grep called grep?
What is .sh file?
How do I search for text in vi?
What are the differences among a system call, a library function, and a unix command?
When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system.
How can i findthe right soluion???
My pgm:
#include
What is the use of finger command?