Re[2]: reading the end of file
> > tac filename > filename_taced
>
> Hey, cool. I never knew that...
>
> > turns around a file, the end becomes the beginning.
> > head -n 10 filename_taced | tac
>
> Why use an intermediary file instead of a pipe?
>
> $ tac filename | head -n10
this would be more readable in the case of a plain-text file:
$ tac filename.txt | head -n 10 | tac
and yes, that's cool :)
-- реклама -----------------------------------------------------------
http://FREEhost.com.ua - еще больше места и возможностей.
При заказе хостинга - домен бесплатно.
Reply to: