Linux Bash Tips and Tricks pt1
Bash tricks that save keystrokes — history expansion, brace expansion, process substitution, and the shortcuts your fingers will thank you for.
All the articles with the tag "scripting".
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.
Build a video slideshow from static images with a voiceover track using FFmpeg — concat filters, fade transitions, and audio sync.
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.
Essential bash utilities for Ubuntu newcomers — file management, text processing, process control, and the commands you'll type every day.
Control Linux audio volume and mic boost from the terminal with ALSA's amixer — no GUI needed, no remembering cryptic card numbers.
Find your Linux distro version, kernel version, and architecture with uname, lsb_release, /etc/os-release, and hostnamectl.
Fix 'Argument list too long' errors in bash when cp or rsync chokes on thousands of files — xargs and find-based workarounds.
Repair and optimize all MySQL databases at once with mysqlcheck — a one-liner that runs on every table without logging into MySQL.
Rename files to remove spaces and special characters using bash — rename, tr, and parameter expansion patterns for bulk file cleanup.
tar, gzip, bzip2, xz, zip — demystified. When to use each compression tool, speed vs ratio trade-offs, and the flags you'll actually need.