Skip to content

Instantly share code, notes, and snippets.

@davidmroth
Created August 6, 2020 00:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davidmroth/01134e946c6b4a983d208e989a905748 to your computer and use it in GitHub Desktop.
Save davidmroth/01134e946c6b4a983d208e989a905748 to your computer and use it in GitHub Desktop.
Bash Commands
<some cmd> | (sed -u 1q; sort -k8) --- Sort by 8th column while skipping header
tput rmam --- Remove line wrap in terminal
tput smam --- Add line wrapping
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment