Linux Disable PingFirst, modify the kernel parameters1. The command to temporarily allow the ping operation is: Echo 0 >/proc/sys/net/ipv4/icmp_echo_ignore_all2. Permanently allow the ping configuration method.Add a row to the
Combine the alias and read usage methods. The ability to save some scripts that will be deferred, or bare data (strings not extended) into a variable. For later use.$ alias begin= ' read-d "" $ ls-la> end$ eval $block 1total 10drwxr-xr-x 1
Tenth unit exercises >>>1. Configure the log service requirements for the desktop host and server host as follows:*) All logs in the desktop host are directed to the /var/log/westos file650) this.width=650; "Src="
BPF is used for a lot of packet capture programs, in Linux, the general kernel is automatically compiled into the Af_packet driver, so only need to configure a packet socket in the user configuration, and then the filter configuration into the
Df-htView formats for various filesThe mount command can mount thoseBlock device: Disc, disk partition, USB flash driveDisc: File system: iso9660 ISO file system: iso9660ISO files can be mounted on theMount Centos7.iso/media/cdrom
Recently near the company was arranged to do hbase development, too long did not do today record the next processImport java.io.IOException;Import org.apache.hadoop.conf.Configuration;Import Org.apache.hadoop.fs.Path;Import
Start the network card serviceService Network restartdevice=eth0# the name of the NIC hwaddr=00:0c:29:d3:01:b7# Mike address type=ethernet# with what web uuid= ebfe7255-c409-4b89-a08a-cae826677d11#uuidonboot=yesnm_controlled=nobootproto=static#
1. Shut down the Linux system after the firewall is restarted permanently: on: Chkconfig iptables on off: chkconfig iptables off in immediate effect, after reboot: On: Service iptables start off: Serv Ice iptables stop 2. Shut down the firewall for
Self-study Linux instruction analysis-seq1 · command formatSeq-print a sequence of numbersPrint a sequence of numbers2 · Command parameters-F to format the output-S sideways, Seq-s "" 5 1 2 3 4 5-W output same width sequence, less bits with 0
Hardware clock and system clock in LinuxThere are two kinds of clocks, such as hardware clock and system clock, in Linux. The hardware clock is the clock device on the motherboard, which is usually the clock that can be set on the BIOS screen. The
I. Installing a virtual machine two. Install CentOS three. Configure IP1. Enter Ifconfig to view the network card Ip,lo is the loopback network card, IFCONFIG-A view the real network card ip2.dhclient #在有dhcp服务器的情况下, automatically get a Iproute #
1 ls (list): Displays all files in the current folder using the listLs-a: Shows all files including two hidden files. ..Ls-l: More informationLs-a-l/ls-l-/ls-la/ls-al/equivalent2 cd-"Change DirectoryRelative path: To. Or.. A. Represents the location
Brief introductionIn this paper, in order to improve the working efficiency of Linux operation, it gives common operation skills, mainly from Linux terminal management, display git branch, terminal Quick Search History command and so on.This article
#include #include #include #include #include #include #include int main () {int Fd;char *start;char buf[100];/* Open File */FD = open ("Testfile", O_RDWR); Start=mmap (null,100,prot_read| prot_write,map_shared,fd,0);//This function is
Centos7 sets the default kernel to start, and centos7 sets the default kernel.
When the centos kernel is started, there will be three options, and only one desktop that can be logged on to the graphic interface normally:
The following describes
Awk array statistics, awk Array
Process the following file content, retrieve the domain name andDomain Name countSorting: (Baidu and sohu interview questions)
1 http://www.etiantian.org/index.html2 http://www.etiantian.org/1.html3
Basic linux knowledge and basic linux knowledge
1) display command historyCommands run in linux are saved in the. bash_history file of the user's home directory. By default, 1000 Command records are saved.History displays command history!! Run the
Introduction to grep, sed, and awk in linux, grepawk
Linux File Operation commands1) grepGrep is used to find matching records in the file.Grep parameter filtering condition FileRegular Expressions can be used in filtering conditions.-C: displays
Linux installation and linux InstallationThis article explains how to installCentOS6.5Of course, other similar operating systems are similar.
Create a new virtual machine under VMWare
The installation of VMWare is not described in detail. Make sure
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