how to find the 51th record of a file containing 100 records
in unix.
Answer Posted / raj
sed '51p' filename
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What are the unix commands?
Which command should you use to find the remaining disk space in unix server?
What does #!/ Bin sh do?
What is in grep command?
What does the command ' $who | sort –logfile > newfile' do?
What is ‘ps’ command for?
What is s and g in sed command?
Which command is used to create a directory?
How do I search a whole word in vim?
Explain command to display different lines that are found when compare two files?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?
What is grep and how do you use it?
Is it inbetween or in between?
Is grep faster than awk?