Some hotkeys (yeah, really...)

Bash

  • Ctrl+U will clear everything before cursor
  • Ctrl+R allows to search through history

Less

/ allows to search. n and N to jump to next/previous match.

Mac: App is damaged and cannot be opened

source

xattr -cr /Applications/Appliaction\ Name.app

(Removes quarantine from the app, prevents Gatekeeper from checking it)

Wget recursively

wget -c -nc -r -np -R "index.html*" http://cs.gettysburg.edu/\~duncjo01/archive/

source

  • -r means recursive, will get everything
  • -c or --continue to continue broken downloads
  • -nc or --no-clobber should ignore files that have been downloaded already
  • -N or --timestamping will take last modified date into account
  • -np means --no-parent - means won't go up
  • -R means --reject, means index.html won't be downloaded (useful for directory indexes)

Byobu

  • Shift+F12 to toggle F-Keys
  • Ctrl+F6 to kill tab