how to find the 51th record of a file containing 100 records
in unix.
Answers were Sorted based on User's Feedback
Answer / sundar octavious
head -51 <filename> |tail -1
The above command will display the answer.
Is This Answer Correct ? | 33 Yes | 1 No |
How do I delete files from command prompt?
use of ls command
What is grep and sed command?
what does the command 'wc' do?
what are the differences between CUI and GUI interfaces?
52 Answers College School Exams Tests, HCL, HP, IBM, IBMR, NIIT, Talco, Wipro,
What is s and g in sed command?
boot process?
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
in UNIX,what is the command to remove directory with files?
to list a particular line in the file
how will you convert a general file to a hidden file?
how to sort the content of the file based on numeric values