Skip to content

Tag: scripting

All the articles with the tag "scripting".

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.

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.

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.

Logrotate & Compression

Logrotate & Compression

· Updated:

logrotate keeps your /var/log from eating the disk, configure rotation schedules, compression, and retention for any service log.

Directory FileCount

Directory FileCount

· Updated:

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.

Archive & Compression utilities

Archive & Compression utilities

· Updated:

tar, gzip, bzip2, xz, zip, demystified. When to use each compression tool, speed vs ratio trade-offs, and the flags you'll actually need.

Sed 101

Sed 101

· Updated:

sed is the stream editor for making text substitutions, deletions, and insertions in files, the patterns you'll use 90% of the time.