✏️
TIL
  • TIL
  • bash
    • Duplicate lines in a text file
    • bash keyboard shortcuts
  • git
    • Git is a good place to keep notes
  • ssh
    • SSH Agent via systemd
  • wireshark
    • Show any field in the packet list display
    • show ja3 hashes in wireshark
  • zip
    • Run a script from a zip file
Powered by GitBook
On this page

Was this helpful?

  1. bash

bash keyboard shortcuts

PreviousDuplicate lines in a text fileNextgit

Last updated 4 years ago

Was this helpful?

  • ctrl a start of line

  • ctrl e end of line

  • ctrl c cancel signal

  • crtl d eof signal

  • ctrl k kill (cut) to end of command

  • ctrl y yank (paste)

  • ctrl r search through bash history (that's a whole other thing)

  • alt . last argument

  • alt+# repeat next char n times

so alt+50 would repeat the next char 50 times

if you give it a negative argument (alt -) it does things backwards alt -1 then ctrl k cuts to the start of the line

there's some that work on a per word basis but i can't see it saving enough time to be worth remembering

Oh, here's a better way to show it

cli cheatsheet

As long as I'm just linking other people's stuff here's Julia Evans

julia evans' bash tricks