[CentOS] Re: tail command

Scott Silva ssilva at sgvwater.com
Mon Feb 4 22:09:25 UTC 2008


on 2/4/2008 1:56 PM Scott McClanahan spake the following:
> In centos 4 we used tail in the following way:
> 
> tail +83 file
> 
> That would tail the contents of the file starting at line 83.  In centos
> 5 that same command complains about the file +83 not being found.  It
> appears that the + option in tail doesn't work the same way in centos 5.
> Is there another easy way to grab the contents of a file starting at a
> certain line number and beyond.
I think it would be tail -n +83 file

-- 
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't!!!!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20080204/a96b99d6/attachment.sig>


More information about the CentOS mailing list