linux, ubuntu emergency safe reboot

2012-02-16. Category & Tags: Soft&Skills Linux, Skills, Soft&Skills “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 就可以将当前行内容删除并且不会放在任何寄存器中。