Channel: linux

bup backups using git datastore

linux sysadmin

the install command is handy for making directories and setting permissions/etc all in one go: install -m 755 -o postgres -g root -d /var/run/postgres

linux sysadmin

Backblaze finds only a few particular SMART metrics useful for predicting and detecting hard drive failure

Backblaze uses SMART 5, 187, 188, 197 and 198 for determining the failure or potential failure of a hard drive.

devops linux sysadmin

emacs macro commands

  • C-u C-x ( - append to the last macro
  • C-x C-k r - apply macro to region lines
  • M-j 0 C-x e - apply macro infinitely
  • C-x C-k C-i - insert counter
  • C-x C-k C-c - set counter
  • C-x C-k n - bind macro to name
  • M-x insert-kbd-macro - gives you elisp for the macro (must already be bound to a name)
  • C-x C-k C-e - edit macro

linux

ping -a produces an audible ping

linux sysadmin