Skip to content

Tag: linux

All the articles with the tag "linux".

Alsa CLI Volume control

Alsa CLI Volume control

· Updated:

Control Linux audio volume and mic boost from the terminal with ALSA's amixer, no GUI needed, no remembering cryptic card numbers.

Linux distribution info & kernel info

Linux distribution info & kernel info

· Updated:

Find your Linux distro version, kernel version, and architecture with uname, lsb_release, /etc/os-release, and hostnamectl.

Bulk rename files in bash

Bulk rename files in bash

· Updated:

Bulk rename files from bash: strip spaces and special characters with loops, parameter expansion, rename, and perl patterns. Test before you touch anything.

Bash for loops sequential counting

Bash for loops sequential counting

· Updated:

Master bash for loops, while loops, and seq for sequential counting, iterate over files, ranges, and arrays without losing your mind.

Adding Extra Swap to Linux

Adding Extra Swap to Linux

· Updated:

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.

Remove all old installed but unused kernels

Remove all old installed but unused kernels

· Updated:

Old kernels fill /boot until apt upgrades fail. Clear them with apt autoremove or dpkg purge on Ubuntu and Debian, plus the Proxmox quirk and how many to keep.

MySQL CLI: From Connection to Maintenance

MySQL CLI: From Connection to Maintenance

· Updated:

Master MySQL from the command line: connect, query databases, manage users, repair tables, optimize, everything you keep Googling, one reference.