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


Please Help Members By Posting Answers For Below Questions

Write a command to kill the last background job?

618


Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?

589


Are you in or at the office?

610


Can you explain a little bit about command substitution?

607


What is grep command in unix with examples?

604






What is the function of grep command in unix?

587


What is the search command in unix?

599


Who command in unix?

571


Who wrote grep?

579


What is difference between grep and find command in unix?

577


How do you grep recursively?

555


How does pipe () work?

593


What is the use of cut command in unix?

690


hw will u use awk in replacing cahrs and files

2727


What do know about tee command and its usage?

586