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

Answer Posted / biswa

cat <filename>|head -51|tail -1

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Enlist some filename manipulation commands in unix.

539


How do I run a bash script?

566


What is awk good for?

574


What is the pipe command?

564


What is the comma to display different lines that are found when compare two files?

577






What is the difference between cat command and more command?

588


Can you explain a little bit about command substitution?

587


What is the functionality of a top command?

610


Which unix command lists files/folders in alphabetical order?

604


Who command in unix operating system?

650


What is a command and examples?

566


Which command is used to restrict incoming messages?

578


What difference between cmp and diff commands?

706


What is the use of cut command in unix?

675


Why is it called grep?

547