Yann Büchau :python: on Nostr: Is there a command-line tool that shows the first, center and last N lines of a file ...
Is there a command-line tool that shows the first, center and last N lines of a file or pipe?
#cli #Linux #bash
Published at
2024-08-05 09:06:32Event JSON
{
"id": "b5432d34a47c1d368098e6ad0659481aa29116be63b33da663e45404f42cf4e8",
"pubkey": "0abc897a05eca0849f658dc45fb983e46041d357150b09df857131e7a7552848",
"created_at": 1722848792,
"kind": 1,
"tags": [
[
"t",
"cli"
],
[
"t",
"linux"
],
[
"t",
"bash"
],
[
"proxy",
"https://fosstodon.org/users/nobodyinperson/statuses/112908618445872466",
"activitypub"
]
],
"content": "Is there a command-line tool that shows the first, center and last N lines of a file or pipe?\n\n#cli #Linux #bash",
"sig": "dc9486e5110cfc85b0ac44ca00eab8ae2a531bd1b49650e1aeaa8b0c68ed50909846f838fdbf962c6561c7c455e0be8d626a57dc625b384570f8653d2405156b"
}