how to find the 51th record of a file containing 100 records
in unix.
Answer Posted / harsha
sed -n 51p <filename>
| Is This Answer Correct ? | 19 Yes | 1 No |
Post New Answer View All Answers
What do know about tee command?
What is a bash command?
What command is used to switching between users in unix?
What is .sh file?
What is ctrl d?
Write a command to display a file’s contents in various formats?
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 search command in unix?
Explain the steps that a shell follows while processing a command.
How do I open a port?
Is it inbetween or in between?
What is the difference between cat and more command?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
What does the command '$ls | wc –l > file1' do?
How do I search for a file in unix command?