X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=grml_tips;h=225862ee5cfc97e5bc1335d5779d6dbbda76d51b;hb=cb64196a333a23534591904a2be96469acd6dd2e;hp=d497654d9b48e323f4b982768aa4b264837b66db;hpb=7b5cf8c26f8b3dadf2a9d612928db0d438028421;p=grml-tips.git diff --git a/grml_tips b/grml_tips index d497654..225862e 100644 --- a/grml_tips +++ b/grml_tips @@ -657,7 +657,7 @@ to get a list of all supported trees -- Transfer your SSH public key to another host: -% ssh-keygen # if you don't have a key yet +% ssh-keygen # ssh-keygen / ssh-key-gen: if you don't have a key yet [...] % ssh-copy-id -i ~/.ssh/id_rsa.pub user@remote-system or @@ -2847,6 +2847,12 @@ Create netboot package for grml-terminalserver: # sh /usr/share/doc/grml-terminalserver/examples/create-netboot -- +To boot grml via network (PXE) check out grml-terminalserver: + +# grml-terminalserver + +See http://grml.org/terminalserver/ for more details. +-- Rotate pictures: Using the 'Orientation' tag of the Exif header, rotate @@ -2893,3 +2899,34 @@ Create a Debian package of a perl module: % dh-make-perl --cpan Acme::Smirch --build -- +The Magic SysRq Keys (SysReq or Sys Req, short for System Request): + +To reboot your system using the SysRq keys just hold down the Alt and +SysRq (Print Screen) key while pressing the keys REISUB ("Raising +Elephants Is So Utterly Boring"). + +R = take the keyboard out of raw mode +E = terminates all processes (except init) +I = kills all processes (except init) +S = synchronizes the disk(s) +U = remounts all filesystems read-only +B = reboot the system + +Notice: use O instead of B for poweroff. + +Or write the sequence to /proc/sysrq-trigger instead: + +# for i in r e i s u b ; do echo $i > /proc/sysrq-trigger ; done + +To enable or disable SysRq calls: + +# echo 0 > /proc/sys/kernel/sysrq +# echo 1 > /proc/sys/kernel/sysrq + +See http://en.wikipedia.org/wiki/Magic_SysRq_key for more details. +-- +Memtest / memcheck: + +Just boot your grml Live-CD with "memtest" to execute a memcheck/memtest +with Memtest86+. +--