Linux FirewallRelease the packets in the linkLinux FirewallEsatblished Keep Links related create additional linksIptables-i input-p ICMP--icmp-type 8-j DROP Join this rule outside the network ping different inside and outside can be flat through the
1. parted disk partition1) View the new plus disk[Email protected] ~]# LL/DEV/SD[Email protected] ~]# LL/DEV/SDBRW-RW----1 root disk 8, 0 Jan 21:18/DEV/SDABRW-RW----1 root disk 8, 1 Jan 21:18/dev/sda1BRW-RW----1 root disk 8, 2 Jan
The command MV for renaming files or folders under Linux can be renamed, and files or folders can be moved.Example: Renaming directory A to BMV A BExample: Move the/a directory to/b and rename to Cmv/a/b/cIn fact, in the text mode to rename the file
1. parted disk partition1) View the new plus disk[Email protected] ~]# LL/DEV/SD[Email protected] ~]# LL/DEV/SDBRW-RW----1 root disk 8, 0 Jan 21:18/DEV/SDABRW-RW----1 root disk 8, 1 Jan 21:18/dev/sda1BRW-RW----1 root disk 8, 2 Jan
Tagged with: GPO cal Linux Blog device mount PNG mount point errorUn-mountTo cancel the Mount command:Umount/dev/sdbCommand umount file system / mount pointUmount/dev/sdbFor example:umount/dev/sdb can be sdb1 to cancel the mount. If a device is busy
Task Processing Commands:(1) Ctrl + Z hangs up the process and puts it in the background(2) Jobs shows the currently paused process(3) BG%N enables the nth task to run in the background (with a space before%)(4) FG%N to enable nth tasks to run in
Solution:First need to switch to root identity$SU-(Note there--this is different from Su, when using the command "SU" only switch to root, but not the root environment variables passed, or the current user's environment variables, with the "Su-"
2018-01-26Command: Whereis (find the fastest one, but only binary programs, documents, and source code can be found.)Command format: whereis [options]-B Find 2 binary programs-M Find Documents-S Find sourceCommand: which (advantage: One of the
ln command: Create a link (shortcut)Each file has an indicator number, which is the inode;The hard link principle is that the linked two files share the same file content, that is, the same inode. BUG: You can only create hard links to files, and
Linux comes with a unzip program can unzip the file, the decompression command is: Unzip Filename.zip also provides a ZIP program compressed zip file, command is zip filename.zip files Files will be compressed to filename.zip in addition to see the
Linux Network relatedIfconfig-AH no IP or network card when it's down without IPIfdown Ens33 Stop the NICIfup Ens33Restart finger ifdown &&fiup Fixed network cardSetting up a virtual network cardEnter Profile Copy FileModify a
We know that in the $windows$ environment, we use the $fc$ function in the $cmd$ to achieve a pat (placed in a directory):#include int main () { while (true) { system ("Make.exe >make.txt"); System ("Force.exe Force.txt"); System
Use yum to install JDK1.8 and centos7yumjdk1.8
Before installation, check whether the system has built-in open-jdk.
Command:
Rpm-qa | grep java
Rpm-qa | grep jdk
Rpm-qa | grep gcj
If no information is entered, the installation is not performed.
2. Port the 3.4 kernel-enable the kernel to support burning yaffs2 and 3.4yaffs2.
In the previous chapter, create a file system and enable the kernel to successfully start the jffs2 file system.
This chapter introduces how to enable kernel support
Ubuntu16.04 (other versions can also be used) Batch modify the image name --- shell programming,
In windows, there are many easy-to-use image sorting software that can be used to sort images in batches. However, in ubuntu, you can write only one
Common linux commands and performance testing linux
1. uptime
[Root @ smgsim02 ~] # Uptime
15:08:15 up 98 days, 2 users, load average: 0.07, 0.29, 0.14
The number of times the system has been running since the current time the number of users
Step details of deb package installation in Fedora Linux, fedoradebPreface:
We know that there are two major software package formats in Linux: RPM and deb.RPM is the recursive abbreviation of "RPM Package Manager. RPM is a management tool used for
Linux commands,
1. ubuntu tips:
In ubuntu, you can press ctrl + alt + t to open the terminal, and press ctrl + shift + t to open the second terminal.
Adjust the font in ubuntu terminal
Font increase: ctrl + shift + plus sign
Reduce Font: ctrl +
In linux, the differences between the two files are commonly compared. In linux, the two files are compared.
Recently, I am writing a script to compare the configuration IP address of the/etc/dhcpd file with the IP address obtained by arp-n. This
Unity 3D Loot Drop-set the loot drop method learned everywhere, lootdrop-
Unity 3D Loot Drop-sets the loot drop method learned from everywhere.
1. Proportion
The solution in the video is:
1. Set a scriptobject DropCurrency to indicate each
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