When working on the command-line, it’s often useful to paste from the system clipboard to a command-line tool, or to copy output from the command-line into your system clipboard.
On macOS, pbcopy
and pbpaste
do this. On Linux, you can use xclip
or
xsel
.
Bash/Zsh curly-brace expansion is simple but powerful: each permutation enclosed in braces is expanded, recursively, before glob expansion:
... ➦