3 ms·
I know most of those, but I've never used awk. One command I didn't see mentioned that was surprising was cut[1], especially the -d flag. (Maybe it's less nece
by dontbenebby 8y ago
I know most of those, but I've never used awk.
One command I didn't see mentioned that was surprising was cut[1], especially the -d flag. (Maybe it's less necessary if you know awk?)
It's really great for cleaning up the output of poorly structured, wordy scripts. It's also a quick and dirty way to generate csvs with the –output-delimiter flag.
[1]https://www.geeksforgeeks.org/cut-command-linux-examples/ https://www.geeksforgeeks.org/cut-command-linux-examples/