awk for Log Parsing: 5 Patterns You'll Actually Use
awk is perfect for parsing logs. Here are 5 patterns that handle filtering, summing, counting, splitting fields, and pretty-printing without reaching for Perl or Python.
All the articles with the tag "bash".
awk is perfect for parsing logs. Here are 5 patterns that handle filtering, summing, counting, splitting fields, and pretty-printing without reaching for Perl or Python.
Twenty powerful bash one-liners every sysadmin should know—file ops, process hunting, networking, text processing, disk analysis
Control Linux audio volume and mic boost from the terminal with ALSA's amixer — no GUI needed, no remembering cryptic card numbers.
Build a video slideshow from static images with a voiceover track using FFmpeg — concat filters, fade transitions, and audio sync.
nohup, disown, and & all keep processes running after logout — but they work differently. Here's which one to reach for and why.
Shell globbing breaks inside docker exec because of how args are parsed — here's how to pass wildcards and asterisks correctly.
Bash tricks that save keystrokes — history expansion, brace expansion, process substitution, and the shortcuts your fingers will thank you for.
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.
By default bash history is lost across multiple terminal sessions. Fix it with HISTAPPEND and PROMPT_COMMAND so nothing gets overwritten.
Rename files to remove spaces and special characters using bash — rename, tr, and parameter expansion patterns for bulk file cleanup.
Set, verify, and sync your timezone in Ubuntu using timedatectl — one command to fix the clock on a newly provisioned server.