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 "sysadmin".
Essential bash utilities for Ubuntu newcomers, file management, text processing, process control, and the commands you'll type every day.
Find your Linux distro version, kernel version, and architecture with uname, lsb_release, /etc/os-release, and hostnamectl.
Remove spaces and special characters from filenames using bash loops, rename, find, and parameter expansion tricks.
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.
Out of RAM and no time to reimage? Add swap via a file on any partition using mkswap, swapon, and fstab, done in under 5 minutes.
Repair and optimize all MySQL databases at once with mysqlcheck, a one-liner that runs on every table without logging into MySQL.
Old kernels pile up in /boot and eat disk space, safely remove unused kernels on Ubuntu and Debian with apt and dpkg.
Master MySQL from the command line: connect, query databases, manage users, repair tables, optimize, everything you keep Googling, one reference.
Rename files to remove spaces and special characters using bash, rename, tr, and parameter expansion patterns for bulk file cleanup.
logrotate keeps your /var/log from eating the disk, configure rotation schedules, compression, and retention for any service log.
Generate SSH keys, set up passwordless auth, configure SSH, and transfer files securely with SCP, the foundation of headless Linux work.