How can I only see the first 14 lines of a file?

Answers were Sorted based on User's Feedback



How can I only see the first 14 lines of a file?..

Answer / prakash

head -n14 filename

Is This Answer Correct ?    28 Yes 2 No

How can I only see the first 14 lines of a file?..

Answer / harsh chauhan

#head -n 14 filename

Is This Answer Correct ?    21 Yes 1 No

How can I only see the first 14 lines of a file?..

Answer / senthil

#head -14 filename

Is This Answer Correct ?    10 Yes 3 No

How can I only see the first 14 lines of a file?..

Answer / pradeep

sed '14p' filename

Is This Answer Correct ?    1 Yes 0 No

How can I only see the first 14 lines of a file?..

Answer / madhava reddy

#head -14 <filename>

Is This Answer Correct ?    2 Yes 2 No

Post New Answer

More Linux Commands Interview Questions

what is jumbi process?

6 Answers   Oracle,


What is history command in linux?

0 Answers  


What does the following command line produce? Explain each aspect of this line. $ (date ; ps -ef | awk {print $1}' | sort | uniq | wc -l ) >> Activity.log

4 Answers   Cisco,


difference between patches and packages? and how to upgrade patches

2 Answers   HP, Yahoo,


How do I test my cpu speed?

0 Answers  






How use more command in linux?

0 Answers  


What is bash command?

0 Answers  


How do I check dns entry?

0 Answers  


Main configuration file and command used for NFS enabling exported directories and deamons?

0 Answers  


Which daemon is used for scheduling of the commands?

0 Answers  


What are the basic command in linux?

0 Answers  


What is ulimit command?

0 Answers  


Categories