06 Apr 26


Watch someone backspace 40 characters instead of pressing CTRL W, and you’ll understand why this list exists.

by maf 3 months ago saved 10 times

The “Works (Almost) Everywhere” Club

  • CTRL + W: delete the word before the cursor
  • CTRL + U: cut everything from the cursor to the beginning of the line
  • CTRL + Y: to paste (“yank”) contents into prompt
  • CTRL + A: jump to beginning of line
  • CTRL + E: jump to end of line
  • ALT + B: move backward one word
  • ALT + F: move forward one word
by matapacos 3 months ago saved 10 times
Tags:

11 Sep 24

I use this for my self-defined ZSH functions, but It can be used for other things I guess too!

by rogeruiz Sep 2024 saved 4 times

30 Mar 23

“execline is a (non-interactive) scripting language, like sh - but its syntax is quite different from a traditional shell syntax.”

How do people feel about this compared to rc from Plan 9?

Tags:

11 Jan 22

Process substitution is a great little feature and it feels very Unixy, but it took a surprisingly long time to appear in Unix and in shells. This is because it needed a crucial innovation, namely names in the filesystem for file descriptors, names that you can open() to be connected to the file descriptor.