how to find the 51th record of a file containing 100 records
in unix.
Answer Posted / deepak
head -51 <filename> | tail -1
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What are the general commands in using unix os for a beginner?
What are bash commands?
Which command is used to create a directory?
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
How does shebang work?
How to use grep command to list find the records of a file containing 10 different strings?
What is the use of the command 'ls -x chapter[1-5]' ?
What is sed awk grep?
What is difference between grep and find command in unix?
What are grep patterns?
How do you repeat a command in terminal?
What is the command to find maximum memory taking process on the server?
What does sed command do in unix?
What happens when we execute a unix command?
What does pipe () return?