HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Technical (http://www.howtoforge.com/forums/forumdisplay.php?f=8)
-   -   tail (http://www.howtoforge.com/forums/showthread.php?t=104)

zizou 27th May 2005 14:50

tail
 
Normally you use tail to show the last n lines of a file (e.g.

Code:

tail -n 100 file.txt
to show the last 100 lines of file.txt.)
But what I need is a way to show all lines of a file starting from, let's say, line 10. Is it possible?

joe 27th May 2005 19:36

You can do that by adding a + sign next to the number:

Code:

tail +10 file

zizou 30th May 2005 19:15

Thanks Joe! :) :)


All times are GMT +2. The time now is 21:26.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.