Ubuntu & Bash tutorial & basic utilities
Essential bash utilities for Ubuntu newcomers, file management, text processing, process control, and the commands you'll type every day.
All the articles with the tag "cli".
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' in bash when cp or rsync chokes on thousands of files, glob loops, find + xargs, and the ARG_MAX reason behind it.
Your disk is full and du is lying to you. ncdu, df, and find tricks to track down space hogs before your server goes down at 2 AM.
Repair and optimize all MySQL databases at once with mysqlcheck, a one-liner that runs on every table without logging into MySQL.
Extract tar.gz, tar.bz2, tar.xz, flags demystified, compression compared, directory extraction, and the gotchas that trip you up.
Master MySQL from the command line: connect, query databases, manage users, repair tables, optimize, everything you keep Googling, one reference.
Empty directories pile up after file migrations. Prune them with find and rmdir, dry-run first, use find -delete, and handle hidden dirs without surprises.
Count files in a directory (recursively or not) with find, ls, and tree, quick one-liners for when du just isn't telling you enough.
sed is the stream editor for making text substitutions, deletions, and insertions in files, the patterns you'll use 90% of the time.