Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • 8
    Thanks! I didn't know that piped input carried over to a second process like that - that's very neat. I can't believe I didn't think of bs=1131 skip=1 though :-/ Commented Feb 4, 2011 at 0:35
  • 2
    Most modern implementations of shell utilities work correctly with binary files (i.e. they have no trouble with null characters and won't insert an extra newline at the end of the file). Certainly GNU and *BSD implementations are safe. Commented Feb 5, 2011 at 0:04
  • 1
    What does "not safe to use it with binary files" mean? Commented Oct 29, 2019 at 13:56
  • 1
    @Scott It means that some implementations of tail (especially legacy systems) tend to mangle binary data. But on Linux that's definitely not the case. Commented Apr 9, 2020 at 18:10