N/APosted on - 08/28/2012
I suppose to read some file everyday to correction for my thesis, the thesis file is not small, it is all about 120 or 160 page.
Every day when I open this file I need to scroll a long time to go down of this file where I suppose to change something, is there any solution to go down on the file in a single command?
How to reach end of the file in a sing command?
There is a good command in Red Hat Linux system that can help you for your desired solution.
Display first few lines of text in a file:
Display last few lines of a text file
# tail < file name >
# tail -n 20 < file name> (Display last 20 lines of text file)
# head <file name> ( This is command will show you first 10 lines by default)
# head -n 20 <file name >