Iptables command: command to maintain the rule table: 1. (-N) create a new rule table 2. (-X) delete an empty Rule Table 3. (-P) change the default policy of the built-in rule table. 4. (-L) list rules in the rule table 5. (-F) clear the rules in
The installation and use of the sniffer tool Tcpdump in Linux is one of the most common and important technologies among today's many hacker technologies. Friends who have used sniffer tools on windows (for example, netxray and snifferpro) may know
Almost all articles on the Internet that are writing mounting hard disks are first mounted and then modified/etc/fstab, and then restarted to check whether the mounting is successful. In fact, this method is quite frustrating. Correct steps: 1)
Tcpdump is used to filter a port. generally, Tcpdump is used when we use tcpdump: Java code tcpdump-iethx. the command below is to view the access volume of port 80 and sort it, take the first 20 Java code tcpdump-ieth0-tnndstport80-c1000 | awk-F.
Commands starting with ":" and "/" have historical records. you can first type ":" or "/" and then press the up or down arrow to select a historical command. In the command line window, enter the following command to enable vim to directly start
If you want to enable automatic mount, you can add the following lines to/etc/fstab:/dev/hda5/mnt/dvfatexec, dev, suid, rw, umask0, iocharsetgb2312 and codepage93600 also solve the problem of garbled characters in Chinese file names. my fstab file
The biggest advantage of LVM is that it can elastically adjust the file system capacity online. There is an active LV with a capacity of 100 MB. Now we are ready to resize this partition (note that the entire resizing operation is directly online
Kaiwii summarized my own experience in using vi or vim: First, move the cursor up and down: of course, use the arrow keys on the keyboard. (ps: What r, it is a pain to use vi. why should we remember so many commands ?) Simply remember one. press the
On the recently installed suseenterprise10, vim is still the default setting, which is very difficult to use. it took a night to complete the configuration, and sent a lot of information from the Internet, make a backup later ~~ Vim version: 7.3.
The first type keyword mainly includes host, net, port, such as host210.27.48.2, specifying 210.27.48.2 as a host, net202.0.0.0 specifying 202.0.0.0 as a network address, and port23 specifying port number as 23. If no type is specified, the default
Next we will talk about how to expand, delete, and manage it. :) use lvextend-LsizeLVNAME to increase the size of a logical volume. next we will talk about how to expand, delete, and manage it :)
Use lvextend-L size LVNAME to increase the size of a
The iptables firewall can be used to create filters and NAT rules. All Linux distributions can use iptables. Therefore, understanding how to configure iptables will help you manage Linux firewalls more effectively. If you contact iptables for the
Although vim is essentially an editor. But with some appropriate plug-ins, vim can also become a full-featured IDE. I have been using vim for a long time. after repeated experiments, I have configured an efficient PHP development environment, which
Some examples of packet capture analysis have been found for a long time, which can be repeated continuously. After analyzing the packet capture, I think the basic skills are too inadequate. there are too many things involved and too many things to
The content of linux/etc/fstab mainly includes six items: for example, the following two lines: LABEL/ext3defaults11/dev/sda2/mnt/D/vfatdefaults00 first column: device Name or device volume name (/dev/sda10 or LABEL/) column 2: Device Mount
LVM is short for LogicalVolumeManager (logical volume management). It is a mechanism for managing disk partitions in Linux. it is implemented by HeinzMauelshagen on the Linux2.4 kernel. I. general idea: partition into LVM format (8e) -- create PV --
Mount can be used to mount a partition to a directory, or to mount a CD image file to a directory. the format used to mount a partition is: mount-ttypedevdir-t and type must be used together to represent the partition format, there are vfat, ntfs,
Example: tcpdump-ieth0-s0-xtcpport9999hosttcpdump-s0-xtcpport3306
Example:Tcpdump-I eth0-s0-x tcp port 9999 hostTcpdump-s0-x tcp port 3306, 8001Tcpdump-s0-x-vv-nTcpdump tcp port 8001-vvv-xxx-tttt-s0-nTcpdump tcp port 9999-vvv-xxx-tttt-s400-nTcpdump
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.