Ah, no way. You can't remember it. keep updating.
[1] vi problems:
Command Daquan: http://interma.cnblogs.com/archive/2006/06/28/438064.html
Experience: http://www.cppblog.com/boolking/archive/2006/05/14/7137.html
Http://blog.csdn.net/camry_camry/archive/2004/09/23/114188.aspx
[2] Tar:
Create: Tar zvcf archive.tar.gz *
Release: tar zvxf archive.tar.gz-C destpath
Tar jvxf archive.tar.bz2
List: Tar zvtf archive.tar.gz
[3] File Search:
Find path-name "pattern"
Ls path/Pattern
[4] network problems:
Ipsettings:/etc/sysconfig/network-scripts/setup
DNS:/etc/resolv. conf
Restart the network:/etc/rc. d/init. d/network restart
Set Proxy: Export http_proxy = http://xxx.xxx.xxx.xxx: xxxx
ViewProgramRelationship with the port: netstat-tlnp
Port Scan: NMAP {IP}
[5] MAN:
1: program, for example: ls
2: C system call, for example: unlink
3: C library functions, such as strcpy
5. File Format and Protocol, for example, passwd
8: system management tools, such as RPM
More:
1 executable programs or shell commands
2 system CILS (functions provided by the kernel)
3 Library CILS (functions within program libraries)
4 special files (usually found in/Dev)
5 file formats and conventions EG/etc/passwd
6 Games
7 Miscellaneous (including macro packages and conven ‐
Tions), e.g. MAN (7), Groff (7)
8 system administration commands (usually only for root)
9 kernel routines [non standard]
[6] grep:
Egrep '{Regexp}' *. C-n
[7] Debian-relative:
Apt-HOWTO: http://www.debian.org/doc/manuals/apt-howto/
Sources. List: http://debian.cn99.com/sources.list.sarge.cn99
Debian reference: http://www.debsir.org/main? Qinidebianreference.html
Dpkg: http://debian.linuxsir.org/doc/inthedebianway/Debian_Tools_dpkg.html
Study Notes: http://www.ringkee.com/note/opensource/debian.htm
Install gnome:
Apt-Get install gnome
Apt-Get install x-window-system xserver-xfree86 xbase-clients
Dpkg-reconfigure xserver-xfree86