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 |
What is the difference between pipe and xargs?
What is grep short for?
what are the different commands used to view the contents of a file?
If we want to see first 35 lines of a file which command we have to use?
How to delete a directory containing files and folders?
What is unix command line?
What is the command to view process running?
what does the 'tee' command do?
what are the different commands used to create files?
Why we are using UNIX OS when we are doing the testing in our application?
Explain the steps that a shell follows while processing a command.
What is the behavioural difference between cmp and diff commands?