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

Answers were Sorted based on User's Feedback



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

Answer / suresh

cut -f51 <filename>

Is This Answer Correct ?    2 Yes 10 No

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

Answer / manoj kumar kar

head 51 filename|tail 1

Is This Answer Correct ?    11 Yes 25 No

Post New Answer

More Unix Commands Interview Questions

Where can I get the free download of Unix by Yeswant Kanetkar?

5 Answers  


what are the different commands used to view the contents of a file?

5 Answers  


Write a grep (or grep) command that selects the lines from a file that have exactly three characters.

24 Answers   Mac, Nokia,


What is the protocol for PING command?

1 Answers   IBM,


Are you in or at the office?

0 Answers  


How do you repeat a command in terminal?

0 Answers  


Differentiate cmp command from diff command.

0 Answers  


Explain ‘system calls’ with respect to unix commands?

0 Answers  


what is the use of "fg" command ?

5 Answers   PSU, Sail,


what does the 'tee' command do?

4 Answers  


Explain command to show the space allocation of files?

0 Answers  


What is awk used for?

0 Answers  


Categories