CD (Open Directory)CD back to the user home directoryCd.. Go back to the previous levelgrep (Find file)grep string Test.log finds and returns rows containing string in Test.logGrep-c string Test.log finds and returns the number of rows containing
Linux kernel compilation stepsBefore compiling, be sure to view, kernel source, documentation/changes file, view kernel compile time, need to run environment, if not suitable for compiling and possibly fail.Since the 2.4 and 2.6 kernels are not
Linux Network configuration1. Temporarily changing the network configuration① Setting the IP address and subnet mask#ifconfig eth0 192.168.1.33 netmask 255.255.255.0 up//eth0 is the network card to be set, 192.168.1.33 is the subnet mask to be set②
Chen Kozhan========================Operating environment: Ubuntu Server 14.04 LTS=========================Brief introduction1. What is a swap partition and what is the role of2. How to set the swap partition==========================================
Long time to decide from the start server operation, but has not been very good to learn the relevant server things. Learning server Operations The most basic is to learn Linux, but I have not found a good way to learn Linux, such as the learning
Recently I have just written and shared experiences and methods in my blog. The following are some of the problems and methods I found in my previous studies, which are now posted for your reference.
The configuration file for modifying DNS
Purpose of the scenario: back up the most important Linux filesSystem Basic Settings InformationContent Materials for Web services1. System Basic Settings information/etc entire Directory where/etc/passwd/etc/show/etc/group/etc/gshadowAccount
Physical page
/** Try to keep the most commonly accessed fields in single cache lines * Here (bytes or greater). This ordering should is particularly * beneficial on 32-bit processors. * * The first line was data used in page cache lookup, the
There are two common interfaces for disks: The IDE and SATA interfaces, and the current mainstream is the SATA interface.The IDE interface is connected by the IDE's flat cable, a cable can connect two IDE interfaces, and typically the host will
Linux displays a list of partitions that have been mounted[Email protected]:~$ df-h file system capacity used available% mount point/dev/sda8 19G 7.1G 11G 40%/none 4.0K 0 4.0K 0%/sys/fs/cgroupudev 1.
Forward the local 80 port request to port 8080, assuming that the host IP is: 192.168.239.121, the local NIC is eth0.
Command: #iptables-t nat-a prerouting-d 192.168.239.121-p TCP--dport 80-j DNAT--to 192.168.239.121:8080Or:#iptables-T
Take notes on centos 7 (1) and take notes on centos 7
Note:
1. This is my first time getting started with CentOS7.
2. The ultimate goal is to perform security tests on the face of CentOS in the ngix + php + mysql + naxsi environment.
The first part
Java beauty [from cainiao to expert drills] using shell scripts in Linux (1)Author: erqingPersonal site: zhangerqing.cn mail: xtfggef@gmail.com Weibo: http://weibo.com/xtfggef
Shell scripts combine multiple commands and write them together to
Convert the rm command in linux to move the file to the recycle bin.Rm is the command to delete files in Linux. It is a very powerful but dangerous command in Linux. In particular, rm-rf is sometimes so powerful that you can cry, when you want to
Hadoop: hadoop2.2.0 pseudo-distributed construction, hadoophadoop2.2.01. Prepare the Linux environment1.0 click the VMware shortcut, right-click the file location, and choose vmnet.exe> VMnet1 host-only> modify the subnet ip address to set the CIDR
The largest RC1 so far: Linux 3.19 RC1
The new kernel development cycle begins.
The first kernel candidate version was released on the 3.19 Branch, which looks like the largest RC1 currently. Linus Torvalds was surprised that so many people
Default RPM installation path in LinuxFor RPM packagesGenerallyPut the command in/usr/bin or/usr/sbin.The library is under/usr/libThe data file is under/usr/share /.Name:Rpm-pql [rpm file name] to view the files in an rpm package, that is, the
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