Skip to content

Instantly share code, notes, and snippets.

@fathergoose
Last active August 7, 2017 21:46
Show Gist options
  • Save fathergoose/e8e3e40d34997b806bc44fc6e8619d39 to your computer and use it in GitHub Desktop.
Save fathergoose/e8e3e40d34997b806bc44fc6e8619d39 to your computer and use it in GitHub Desktop.
Things I always forget but always need too

Use awk to grab some word(s)

It's really all I ever want to do with awk

$ echo "my name is Al" | awk '{print $4 " " $3 " " $2}'
  Al is name

Install a .deb package from cli

$ sudo dpkg -i <somedeb>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment