how to find the 51th record of a file containing 100 records
in unix.

Answer Posted / sundar octavious

head -51 <filename> |tail -1

The above command will display the answer.

Is This Answer Correct ?    33 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Enumerate some of the most commonly used network commands in unix?

616


What is grep r?

591


Who command in unix?

571


How do you grep recursively?

555


What is the use of sed command in unix?

597






What is the use of the command 'ls -x chapter[1-5]' ?

659


Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.

620


Which command is used to create a directory?

569


Why is it called a shebang?

568


Why is grep called grep?

777


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

600


How can we use grep command in unix?

612


What is the use of find command in unix?

577


What's a command word?

585


What is used to type command?

539