Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

One really useful shortcut I learned in bash is Ctrl-/ which is a sort of undo for bash when composing a command. Can't really explain how it works, you should try it out yourself.

Also really handy is Ctrl-Y, which pastes the last cut characters by Ctrl-W, Ctrl-U or Ctrl-K.



C-/ and C-y are from readline which mimicked them (and many more) from Emacs.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: