史上最牛最全的LINUX命令集
Unix Toolbox
This document is a collection of Unix/Linux/BSD commands and tasks which are useful for IT work or for advanced users. This is a practical guide with concise explanations, however the reader is supposed to know what s/he is doing.
Unix Toolbox revision 14.2
The latest version of this document can be found at http://cb.vu/unixtoolbox.xhtml. Replace .xhtml on the link with .pdf for the PDF version and with .book.pdf for the booklet version. On a duplex printer the booklet will create a small book ready to bind. This XHTML page can be converted into a nice PDF document with a CSS3 compliant application (see the script example). See also the about page.
Error reports and comments are most welcome - c@cb.vu Colin Barschel.
© Colin Barschel 2007-2009. Some rights reserved under Creative Commons.
System
Processes
File System
Network
SSH SCP
VPN with SSH
RSYNC
SUDO
Encrypt Files
Encrypt Partitions
SSL Certificates
CVS
SVN
Useful Commands
Install Software
Convert Media
Printing
Databases
Disk Quota
Shells
Scripting
Programming
Online Help
white black
System
Hardware | Statistics | Users | Limits | Runlevels | root password | Compile kernel | Repair grub
Running kernel and system information
# uname -a # Get the kernel version (and BSD version)
# lsb_release -a # Full release info of any LSB distribution
# cat /etc/SuSE-release # Get SuSE version
# cat /etc/debian_version # Get Debian version
Use /etc/DISTR-release with DISTR= lsb (Ubuntu), redhat, gentoo, mandrake, sun (Solaris), and so on. See also /etc/issue.
# uptime # Show how long the system has been running + load
# hostname # system's host name
# hostname -i # Display the IP address of the host. (Linux only)
# man hier # Description of the file system hierarchy
# l
相关文档:
总览
用iptables -ADC 来指定链的规
则
,-A添加 -D删除 -C 修改
iptables - [RI] chain rule num rule-specification[option]
用iptables - RI 通过规则的顺序指定
iptables -D chain rule num[option]
删除指定规则
iptables -[LFZ] [chain][option]
用iptables -LFZ 链名 [选项]
iptables -[NX] chain
用 -NX ......
今天很果断的把一直在虚拟机上安装的Linux卸载了,感觉试了一小段时间在VMware上面安装的Linux,使不出感觉来。更为重要的是据说(我也只能道听途说了)java程序开发很多是在Linux环境下开发的(难道是因为在Linux下运行?)。为了更加的接近生产,我决定安装双系统。
&n ......
gnome: 点右键---new Launcher,输入快捷方式的名称,并选择执行的程序即可。
kde: 右键单击桌面的空白处,在弹出的对话框中选“新建-应用程序链接”。再在弹出的窗口中点“执行”,在命令栏中点后面的浏览键,找到相应的程序。再点“常规”,进行取名、更改图标等操作,最后点确定,这样 ......
1.基础知识
一个操作系统可以简单的抽象为,引导程序 内核 文件系统。
vmlinuz是Linux 内核的镜像文件,可以被引导程序加载,从而启动Linux系统。
initrd的全称是boot loader initialized RAM disk,它是系统启动时所使用的根文件系统映像文件,这个文件系统中包含几个驱动模块,用来装载实际的根文件系统,比如一个IDE或S ......