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


Please Help Members By Posting Answers For Below Questions

What are filter commands in unix?

550


What is the difference between cat command and more command?

599


What are some command words?

557


What is the use of cut command in unix?

688


What are file commands?

648






How do I search for text in vi?

584


Explain ‘system calls’ with respect to unix commands?

598


How to use grep command to list find the records of a file containing 10 different strings?

643


How many unix commands are there?

623


How do I run a whois command?

596


How do I run a bash script?

578


What is the functionality of a top command?

623


What does this command do? Cat food 1 > kitty

974


What is pipe command in unix?

668


How does pipe () work?

589