how to find the 51th record of a file containing 100 records
in unix.
Answer Posted / sundar octavious
head -51 <filename> |tail -1
The above command will display the answer.
| Is This Answer Correct ? | 33 Yes | 1 No |
Post New Answer View All Answers
Write a command to display a file’s contents in various formats?
What are the dos commands?
What is used to type command?
What command is used to check the current users?
When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system.
How can i findthe right soluion???
My pgm:
#include
What is the use of awk command in unix?
What is the functionality of a top command?
How do I clear my terminal history?
What is unix command line?
Give the command for finding the current date.
What command will change your prompt to myprompt?
What will the following command do?
Explain how to use grep command to list find the records of a file containing 10 different strings?
What is grep and how do you use it?
What are filter commands in unix?