Give me a Linux pipeline to output the 10 longest lines in a file.
#Linux #DFIR #CommandLine #Trivia
3
1
Yesterday's Linux DFIR command line trivia asked for a Linux pipeline to output the 10 longest lines in a file.
You're going to need a loop to do this. You could go with an explicit loop, like 🐘secshoggoth@infosec.exchange did:
cat filename |… infosec.exchange/@hal_pomera…
Nov 17, 2022 · 2:08 PM UTC
1
