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

Explain the linux directory commands along with the description?

0 Answers  


Who unix commands?

0 Answers  


How do I clear bash history in linux?

0 Answers  


Diff b/w C-shell and Born-shell

2 Answers   HP,


Which command will show you free/used memory?

0 Answers  






How you will uncompress the file?

7 Answers   Linux,


What does uname do in linux?

0 Answers  


What does f mean linux?

0 Answers  


What u know abt tar Command?

5 Answers   Locuz,


What is kill command?

0 Answers  


What does cd – command do?

0 Answers  


How do I stress test my cpu?

0 Answers  


Categories