out of space on /root
Paul Smith
paul at mad-scientist.net
Mon Mar 6 14:37:46 UTC 2017
On Mon, 2017-03-06 at 14:10 +0100, Xen wrote:
> > so it is better to to just "tail".
>
> Yes, that's what I said ;-).
I think for helping new people it's better to provide the best answer
only and leave it at that, rather than provide a not-so-good answer
first and then say "maybe it would be better to do XYZ"... :)
The other example in this email is also a UUOC:
> cat "file" | split -b 500M
can be more efficiently written:
split -b 500M < "file"
In general, cat can almost always be avoided giving a more efficient
(sometimes GREATLY more efficient depending on the situation, other
times just a little bit more efficient) result.
More information about the ubuntu-users
mailing list