[OLUG] How do I...
redcpu at home.com
redcpu at home.com
Sat Dec 18 14:59:30 UTC 1999
On 14 Dec 99, at 18:47, Vincent wrote:
> I feel stupid having to ask this question, but here it goes. I've never
> had a need to do this until today.
>
> In a console, how can I view the end of a large text file? For example,
> there's a text file that's over 80MB in size and I need to look only at
> the last 100 lines or so. The way I've been doing it is to more or less
> (pun intended) set a rock on my spacebar and take a walk and then scroll
> up the console when it's finished. That can get damn annoying!
>
> --
> "Go away before I replace you with a very small shell script!"
try tail 100 filename
or a tail -f will do a watch of the file if it changes.
Dan
-------------------------------------------------------------------------
Sent by OLUG Mailing list Manager, run by ezmlm. http://olug.bstc.net/
To unsubscribe: `echo unsubsribe | mail olug-unsubscribe at bstc.net`
More information about the OLUG
mailing list