Benjamin Italiaander / Topics / Shell & command line

Bash, the terminal and handy command-line tools.

Linux / CLI
(Old note) Zellij, a modern terminal multiplexer that replaces screen and tmux, plus a fix for copy-paste. I now use kitty.
My kitty terminal setup on Linux: a custom tab bar with a clock, clickable files, images in the terminal, SSH that just works, and the shortcuts I use every day.
Run language models on your own computer with Ollama: install, choose a model that fits your GPU, use the API, and why I still don't translate my site with it.
ImageMagickOct 10, 2016
Convert, resize and batch-process images and PDFs with ImageMagick's convert and mogrify.
Daily-use shortcuts for the Linux command line: history search, cursor movement, editing and job control.
The network commands I use most: addresses and routes with ip, settings with nmcli, DNS checks, open ports, and a WireGuard VPN.
The systemctl and journalctl commands I use every day, how to write your own service, and timers instead of cron.
πŸ’‘ Tip 14 notes
Linux / Bash Tricks
Give a Linux user access to serial devices such as /dev/ttyUSB0 with the dialout group.
Bash OTP GeneratorJun 5, 2016
Generate TOTP codes in the terminal with oathtool, with the secret encrypted by GPG.
Benchmark how fast a (network) disk handles large files and many small files with dd, split and rsync.
Linux / CLI
Copy command output to the clipboard with xclip, and a handy shell function for it.
Linux / Bash Tricks
Count logged-in users
Linux / Bash Tricks
Small examples of the date command: weekday number and quarter of the year.
Linux / CLI
Compare two files side by side with diff, optionally showing only the lines that differ.
Extract a ColumnJun 3, 2016
Linux / CLI
Extract a single column from a text file with awk.
Use find to list files while skipping hidden files and folders.
Turn command output into a QR code with qrencode, and read QR codes from images with zbarimg.
List the remote addresses of outgoing TCP and UDP connections with netstat or ss.
PermissionsMar 12, 2016
Copy permissions and ownership from one file to another with chmod and chown --reference.
Linux / CLI
Split text into one word per line with xargs.
Tools for reading Markdown in the terminal: Glow, Frogmouth, mdless and markdownlint.

Other topics

All topics and genres β†’