💻 CLI
Small tools and one-liners for the terminal. Most of them answer a question I had more than once.
| I want to… | Note |
|---|---|
| set up a nice terminal | Kitty Terminal: my working config, Bye bye screen, hello Zellij |
| copy command output to the clipboard | Copy and paste in the CLI |
| compare two files | Diff |
| take one column out of a text file | Extract a column |
| put every word on its own line | Put every word on its own line |
| resize or convert images and PDFs | ImageMagick |
| turn output into a QR code | Generate a QR code from a pipe |
| read Markdown in the terminal | Read Markdown in the CLI |
| see where my computer connects to | List outgoing connections |
⚡ Five I use all the time
command | xclip -selection clipboard # output to the clipboard
diff -y --suppress-common-lines a b # only the lines that differ, side by side
awk '{print $2}' file.txt # the second column
echo "https://tlnd.org" | qrencode -t ansiutf8 # a QR code in the terminal
ss -tunp # current connections with their program
🛠️ My terminal tools on GitHub
| Repository | What it is |
|---|---|
| kitty_terminal_working_config_example | My complete kitty configuration with Oh My Zsh, ready to copy |
| bookmarks | bm: bookmarks as Markdown files, managed from the command line like pass |
| calcurse-bash-extention and calcurse_export_to_html | A day overview from the calcurse calendar, and an export of it to HTML |
More: the Linux CLI cheatsheet and the networking cheatsheet.