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 is the command to view process running?

566


What does the “echo” command do?

615


What do chmod command do?

596


Why is grep called grep?

768


What is ‘ps’ command for?

608






Enlist some filename manipulation commands in unix.

540


how to sort the content of the file based on numeric values

1240


What is “chmod” command?

557


What is the nmap command?

572


How does the system know where one command ends and another begins?

1563


Give the command for finding the current date.

573


Describe the zip/unzip command using gzip.

602


Name the unix command to find how many days the server has been up.

591


Who wrote grep?

572


What is the use of the tee command?

586