Those things I keep on forgetting.
-
reload user settings without logging out (works only in a shell and its children):
exec su -l $USER -
reload udev rules without restarting:
sudo udevadm control --reloadsudo udevadm trigger --action=add -
rsync mirroring
rsync -chavzP --status user@machine:/remote/dir /local/dest -
Autotools
- create .c file
- create Makefile.in file
autoscanmv configure.scan configure.acautoheaderautoconf./configure- add to the .c file
#include "config.h"autoscan && mv configure.scan configure.ac && echo "AM_INIT_AUTOMAKE" >> configure.ac && libtoolize && autoheader && aclocal && autoconf && automake --add-missing && ./configure && make