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

What is ctrl d?

0 Answers  


what is the difference between pipe(|) and tee command..

3 Answers   Cap Gemini, Rolta,


What is grep short for?

0 Answers  


What is an Environment Variable?

4 Answers   CTS,


How does shebang work?

0 Answers  






how will you login one server's shell prompt to an another server?

5 Answers   Cosmic Infotech, Perot Systems,


How we will execute previous command in vi editor?

3 Answers   IBM, Infosys,


What is updatedb?

0 Answers  


What Command will remove a Directory in UNIX?

8 Answers   IBM,


Why is it called a shebang?

0 Answers  


Why we are using UNIX OS when we are doing the testing in our application?

5 Answers   IBM,


fork in unix ?

4 Answers   BFL,


Categories