Skip to content

Tag: linux

All the articles with the tag "linux".

Bash Arithmetic Without bc

Bash Arithmetic Without bc

Bash does arithmetic natively, so you can drop bc for most math. Arithmetic expansion, conditions, bitwise operators, and the trap inside $(( )).

Ventoy: Boot Any OS, Any Time

Ventoy: Boot Any OS, Any Time

· Updated:

Ventoy turns any USB drive into a multi-boot drive, drop ISOs on it and boot any OS without re-flashing the drive each time.

The sudoers Mistake Everyone Makes Once

The sudoers Mistake Everyone Makes Once

One syntax error in /etc/sudoers locks everyone out of root. Use visudo, read the syntax properly, avoid the common mistakes, and know what NOPASSWD gives.

jq One-Liners Every Sysadmin Needs

jq One-Liners Every Sysadmin Needs

· Updated:

jq is JSON on the command line. Here are 5 one-liners that actually solve real problems: filtering, extracting, transforming, combining, and debugging.