Skip to content

Tag: linux

All the articles with the tag "linux".

Rootless Docker: Run Without Root

Rootless Docker: Run Without Root

Run Docker containers without root privileges, here's the security difference, the install steps, and the gotchas nobody tells you about.

Proxmox NAT Bridge: One IP, Many VMs

Proxmox NAT Bridge: One IP, Many VMs

· Updated:

Run multiple Proxmox VMs and LXC containers behind a single public IP using NAT bridging and iptables port forwarding. Works on Proxmox VE 8 and 9.

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.

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.

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.

Linux su with custom shell

Linux su with custom shell

· Updated:

Use su with a specific shell to switch users without the default login shell, useful when /etc/passwd points to something unexpected.

Logrotate & Compression

Logrotate & Compression

· Updated:

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

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.