Skip to content

Tag: sysadmin

All the articles with the tag "sysadmin".

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:

Remove spaces and special characters from filenames using bash loops, rename, find, and parameter expansion tricks.

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.

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.

SSH keys and secure file copy

SSH keys and secure file copy

· Updated:

Generate SSH keys, set up passwordless auth, configure SSH, and transfer files securely with SCP, the foundation of headless Linux work.