bash keyboard shortcuts
Last updated
Was this helpful?
Last updated
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
As long as I'm just linking other people's stuff here's Julia Evans