Common commands and parameters of iptables

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

Introduction to tcpdump commands in Linux

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

How to mount a hard disk in Linux

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)

Use tcpdump to capture packets on a Linux host

Tcpdump adopts the command line method. its command format is: tcpdump [-adeflnNOpqStvx] [-c quantity] [-F file name] [-I network interface] [-r file name] [-ssnaplen] [-T type] [-w file name] [expression] 1. tcpdump option introduction-a converts

Tcpdump filters specified ports

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.

Vim command collection

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

Complete VIM configuration

eol

General settings default decoding setfencutf-8setfencsutf-8, usc-bom, euc-jp, gb18030, gbk, gb2312, cp936 """"""""""""""""""""""""""""""""""""""" """""""""""""""""""""""""""""" "General settings """""""""""""""""""""""""""""""""""""""" """"""""""""""

Fstab configuration file

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

LVM resizing method

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

Vi commands in Linux

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

Configurations of the vim editor in Linux

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.

Usage of super detailed tcpdump

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

LVM2 and ReiserFS.2 usage management

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

Basic instructions on using iptables commands

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

Use VIM to develop PHP in Windows

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

How to use tcpdump to capture packets

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

Configuration format of fstab files in Linux

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

How to use LVM (LogicalVolumeManager) partitioning in Linux

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 --

Introduction to the mount command and the fstab configuration file

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,

Tcpdump examples and parameters

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

Total Pages: 2732 1 .... 2675 2676 2677 2678 2679 .... 2732 Go to: GO

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.