哎,没办法,记不住,持续更新吧。
[1] vi相关:
命令大全:http://interma.cnblogs.com/archive/2006/06/28/438064.html
经验之谈: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:
创建:tar zvcf archive.tar.gz *
释放:tar zvxf archive.tar.gz -C destpath
tar jvxf archive.tar.bz2
列表:tar zvtf archive.tar.gz
[3] 文件查找:
find path -name "pattern"
ls path/pattern
[4] 网络相关:
ip设置:/etc/sysconfig/network-scripts/setup
dns:/etc/resolv.conf
重启网络:/etc/rc.d/init.d/network restart
设置代理:export http_proxy=http://xxx.xxx.xxx.xxx:xxxx
查看程序和端口的对应关系:netstat -tlnp
端口扫描:nmap {ip}
[5] man:
1:程序,例如:ls
2:C的系统调用,例如:unlink
3:C的库函数,例如:strcpy
5:文件格式与协议,例如:passwd
8:系统管理工具,例如:rpm
more:
1 Executable programs or shell commands
2 System calls (functions provided by the kernel)
3 Library calls (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/?q=debianreference.html
dpkg: http://debian.linuxsir.org/doc/inthedebianway/Debian_Tools_dpkg.html
学习笔记:http://www.ringkee.com/note/opensource/debian.htm
安装gnome:
apt-get install gnome
apt-get install x-window-system xserver-xfree86 xbase-clients
dpkg-reconfigure xserver-xfree86
[1] vi相关:
命令大全:http://interma.cnblogs.com/archive/2006/06/28/438064.html
经验之谈: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:
创建:tar zvcf archive.tar.gz *
释放:tar zvxf archive.tar.gz -C destpath
tar jvxf archive.tar.bz2
列表:tar zvtf archive.tar.gz
[3] 文件查找:
find path -name "pattern"
ls path/pattern
[4] 网络相关:
ip设置:/etc/sysconfig/network-scripts/setup
dns:/etc/resolv.conf
重启网络:/etc/rc.d/init.d/network restart
设置代理:export http_proxy=http://xxx.xxx.xxx.xxx:xxxx
查看程序和端口的对应关系:netstat -tlnp
端口扫描:nmap {ip}
[5] man:
1:程序,例如:ls
2:C的系统调用,例如:unlink
3:C的库函数,例如:strcpy
5:文件格式与协议,例如:passwd
8:系统管理工具,例如:rpm
more:
1 Executable programs or shell commands
2 System calls (functions provided by the kernel)
3 Library calls (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/?q=debianreference.html
dpkg: http://debian.linuxsir.org/doc/inthedebianway/Debian_Tools_dpkg.html
学习笔记:http://www.ringkee.com/note/opensource/debian.htm
安装gnome:
apt-get install gnome
apt-get install x-window-system xserver-xfree86 xbase-clients
dpkg-reconfigure xserver-xfree86