how to find the 51th record of a file containing 100 records
in unix.
Answer Posted / ruchi agarwal
head -n 51 filename |tail -1
| Is This Answer Correct ? | 45 Yes | 4 No |
Post New Answer View All Answers
What is the behavioural difference between cmp and diff commands?
Describe the zip/unzip command using gzip.
What is the difference between cat command and more command?
What does 'mkdir' command do in UNIX?
How do I run a whois command?
Can you enlist some commonly used network commands?
Write a command to kill the last background job?
how to sort the content of the file based on numeric values
What will the following command do?
Write a command to display a file’s contents in various formats?
What is grep r?
What is the use of the command 'ls -x chapter[1-5]' ?
How does the system know where one command ends and another begins?
What is the general format of unix command syntax?
What is the use of cut command in unix?