Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Ten More Things I Wish I'd Known About Bash (zwischenzugs.com)
1 point by zwischenzug on April 22, 2018 | hide | past | favorite | 1 comment


The best bash (or any other shell) "trick" is to learn how to use GNU Readline. Once you understand that most shells and other commandline REPLs use it, you can leverage the same, consistent keyboard commands across all of them.

Ctrl+A/E to move to the beginning/end of a line, for instance; or Ctrl+K to kill from the point to the end of line; or Ctrl+R to search the input history; etc. etc.

Probably one of the best and most transferable skills if you use the commandline a lot.




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

Search: