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 |
if we create a file, in that 10 rows(means 1,2,....9,10 like). i want 7 row exactly, which command use in unix? plz send this question.
what is the command to list all files in a directory, including the hidden files in UNIX ?
What is the size of time_t?
How to use grep command to list find the records of a file containing 10 different strings?
What does #!/ Bin sh do?
Explain command to display different lines that are found when compare two files?
what is the difference between npar and vpar in HP-UX?
What are the differences among a system call, a library function, and a unix command?
Write a grep (or grep) command that selects the lines from a file that have exactly three characters.
Can a process kill itself in UNIX/or in its various versions?
what are the uses of filters?
which script will invoke first ,when /etc/init.d starts