Copying Files Between Docker Containers and Host Machines
Use docker cp to move files between running containers and your host machine, no volumes needed for one-off file transfers.
All the articles with the tag "cli".
Use docker cp to move files between running containers and your host machine, no volumes needed for one-off file transfers.
Run multiple commands in one docker exec call by piping a heredoc to the container shell, chain dependent steps and skip repeated container roundtrips.
xargs turns stdin into arguments, build complex pipelines, run parallel jobs, and handle filenames with spaces without breaking everything.
Shell globbing breaks inside docker exec because of how args are parsed, here's how to pass wildcards and asterisks correctly.
vim survival guide, modes, motions, search and replace, macros, splits, and the config tweaks that make it actually enjoyable to use.
Master tmux for dev work: sessions, windows, panes, layout scripting, hooks, and pane syncing, the commands that turn one terminal into many.
socat wires TCP, UDP, Unix sockets, files, and serial ports together. Port forwarding, OpenSSL tunnels, traffic capture, this is netcat with superpowers.
Bash tricks that save keystrokes, history expansion, brace expansion, process substitution, and the shortcuts your fingers will thank you for.
Set, verify, and sync your timezone in Ubuntu using timedatectl, one command to fix the clock on a newly provisioned server.
mogrify from ImageMagick batch-processes images, resize, convert, compress, and apply effects to entire directories at once.
The docker compose commands you actually use daily, up, down, logs, exec, pull, and the flags that make them way more useful.
Use su with a specific shell to switch users without the default login shell, useful when /etc/passwd points to something unexpected.