2012年2月14日 星期二

Linx Hot keyboard

Ctrl + A Go to the beginning of the line you are currently typing on
Ctrl + E Go to the end of the line you are currently typing on
Ctrl + L Clears the Screen, similar to the clear command
Ctrl + U Clears the line before the cursor position. If you are at the end of the line, clears the entire line.
Ctrl + H Same as backspace
Ctrl + R Let’s you search through previously used commands
Ctrl + C Kill whatever you are running
Ctrl + D Exit the current shell
Ctrl + Z Puts whatever you are running into a suspended background process. fg restores it.
Ctrl + W Delete the word before the cursor
Ctrl + K Clear the line after the cursor
Ctrl + T Swap the last two characters before the cursor
Esc + T Swap the last two words before the cursor
Alt + F Move cursor forward one word on the current line
Alt + B Move cursor backward one word on the current line
Tab Auto-complete files and folder names




Reference: http://www.howtogeek.com/howto/ubuntu/keyboard-shortcuts-for-bash-command-shell-for-ubuntu-debian-suse-redhat-linux-etc/

2012年2月13日 星期一

ON Linux

http://miracle88.homeip.net/?p=1248

2012年2月9日 星期四

Kernel

1. For centOS
{{{
Ariticle:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/SRPMS/

Downlaod:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/SRPMS/


}}}

2. Reference
{{{
http://www.cs.fsu.edu/~baker/devices/lxr/http/source/linux/arch/x86/kernel/smp_32.c?v=2.6.25#L135

http://hira-consulting.com/wiki/index.php?__send_IPI_shortcut%28%29%2Flinux2.6


}}}

RPM

1. Extract RPM content
{{{
rpm2cpio kernel-2.6.18-8.1.8.el5.src.rpm | cpio -idmv

Reference:
http://www.cyberciti.biz/tips/how-to-extract-an-rpm-package-without-installing-it.html
}}}

2012年2月5日 星期日

Common Command

http://fecbob.pixnet.net/blog/post/34682395-linux-%E5%B8%B8%E7%94%A8%E7%9A%84%E6%8C%87%E4%BB%A4