Categories
r00t

Move a running process to a screen session

Suspend the process

CTRL+Z

Categories
r00t

Execute cron on a specific day of the month

# Run on every second Tuesday of the month

Categories
r00t

Destroy data on a filesystem by wiping first and last sectors

Wipe the first 1GB

# dd if=/dev/zero of=/dev/sdX bs=1M count=1024

Categories
Software

Batch printer installation on multiple servers

Using the following bash script you can install multiple printers, on multiple servers. Each printer has its own description, location, PPD file (driver) and network path.

Categories
Software

Bluetooth pairing with dual boot Windows & Linux

If you have dual boot on your computer and use both – Windows and Linux – you have probably connected and reconnected your Bluetooth mouse & keyboard (or other Bluetooth devices) every time you reboot into the other operating system.