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 these two commands prints "echo test","cat test"?

6 Answers   TCS, Wipro,


Are you in or at the office?

0 Answers  


what is the use of uniq commmand?

8 Answers  


How do you move a process which is running background to foreground?

9 Answers  


hw will u use awk in replacing cahrs and files

0 Answers  






what are filters?

6 Answers  


what are the different hardwares available?

1 Answers  


What command a user use to view a long text file one page at a time in UNIX?

8 Answers   IBM,


how to change a normal file into hidden file

3 Answers  


What is clustering in HP and how it's work?

1 Answers   HP,


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

0 Answers  


Write a command to find all of the files which have been accessed within the last 30 days.

14 Answers   Cisco,


Categories