Skills

linux, ubuntu emergency safe reboot

2012-02-16. Category & Tags: Soft&Skills Linux, Skills, Soft&Skills

http://en.wikipedia.org/wiki/Magic_SysRq_key#.E2.80.9CREISUB.E2.80.9D_.E2.80.93_safe_reboot “REISUB” – safe reboot unRaw (take control of keyboard back from X), tErminate (send SIGTERM to all processes, allowing them to terminate gracefully), kIll (send SIGKILL to all processes, forcing them to terminate immediately), Sync (flush hd write-cache data to disk), Unmount (remount all filesystems read-only), reBoot.

vim 只删除,不剪切

2012-02-16. Category & Tags: Soft&Skills Skills, Soft&Skills, Vim

See main article Vim In Case Of. nmap DD “_dd 将删除的内容放入 black hole register: ”_ 中 _"dd 就可以将当前行内容删除并且不会放在任何寄存器中。 http://forum.ubuntu.org.cn/viewtopic.php?f=68&t=84593?f=68&t=84593)