Currently reading articles under label: skills

linux, ubuntu emergency safe reboot

http://en.wikipedia.org/wiki/Magic_SysRq_key#.E2.80.9CREISUB.E2.80.9D_.E2.80.93_safe_reboot

“REISUB” – safe reboot

un*Raw (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 te......

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

卸载 ubuntu11.10 unity 的 卸载即现式滚动条 和 所谓的 全局菜单, 恢复滚动条

卸载即现式滚动条和全局菜单,找回经典的滚动条和菜单。

sudo apt-get remove overlay-scrollbar liboverlay-scrollbar3-0.2-0 liboverlay-scrollbar-0.2-0

sudo apt-get remove indicator-appmenu appmenu-gtk appmenu-gtk3 appmenu-qt

from:http://tieba.baidu.com/p/1328489583