If you want to print the first 10 & last 10 lines of input on , you can do this:

long_command_here | ( head && tail )

Sign in to participate in the conversation

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!