How to view the first few lines of a big file in Linux

To view the first few line use the head or tail command, If you want to view the first 100 lines of a file then just type the following command in the terminal

 head -100  dump_file021009

For the last 100 lines you can just type as

 tail -100  dump_file021009

Post By Editor (2,827 Posts)

Website: →