1. Remove the set of two files (duplicate lines are reserved only one copy)2. Remove the intersection of two files (leaving only files that exist in two files)3. Delete the intersection and leave the other rows1. Cat File1 file2 | Sort | Uniq2. Cat
Reprinted from: http://edsionte.com/techblog/archives/4019The partition page box allocator implemented in the Linux kernel based on the partner algorithm is suitable for large chunks of memory, and its allocated memory area is based on the page
Outline1. Add a piece of more than 2TB hard drive2. Try fdisk on more than 2TB partitions3. Using the parted partition1. You can see Adding a hard drive more than 2T[Email protected] ~]# fdisk-ldisk/dev/sda:21.4 GB, 21474836480 bytes255 heads,
Linuxreading of compressed files· *. Z Compress program compressed files;· *.bz2 bzip2 Program compressed files;· *.gz gzip Program compressed files;· *.tar The tar program to package the data, and has not been compressed;· *.tar.gz tar program
For the powerful Linux, we will think that she shows strong, stable, and also very attractive. More how to use her, and did not have a lot of her safety article involved, a simple example from the common log audit and Pam user authentication block
Configuration of the Apache-tomcatDownload the package firstApache-tomcat-6.0.33.tar.gz tomcat-connectors-1.2.32-src.tar.gzHttpd-2.2.17.tar.gz Jdk-6u25-linux-i586-rpm.bin1. Installation jdkchmod +x
Control the gp_led light on the board with the Linux commandis found on a website, here we can see gp_led is connected with GPIO3. As for GPIO13, in this picture, with gp_led does not matter, but why in the blink draft, but can control gp_led, this
Judging using conditions——————By using conditional judgment, you can have make to select different execution branches depending on the runtime's circumstances. A conditional expression can be a value of a comparison variable, or a value that
Linux handle leakage check, linux handle LeakageBackground:
We often encounter handle leaks when developing linux Online servers. In the linux system design, everything follows the principle that everything is a file, that is, disk files,
Linux terminal: Use the cat command to view invisible characters, linuxcat
Often, a program or software does not have syntax errors, and you check its related content and have not found any problems. This is because many characters are not displayed
Use yum lnmp to build cacti in CentOSI. Introduction to cacti network management (such as host load and network traffic monitoring) is an important part of the daily work of system management personnel, many vendors provide their own solutions. One
Ubuntu dial-up Internet Graph
Ubuntu dial-up Internet access is actually very simple. You can right-click the connection icon in the upper right corner of Ubuntu to edit the connection, as shown in:
Click Edit connection
Edit connet
Select the
View system load in CentOSRecently, a server system has been built, and various system loads need to be queried. Previously, we only used top to view basic information such as cpu and memory. I am not familiar with other information. So the system
Use of top commands in CentOS
Top Command
The first line has the same system load as the uptime command.
10:36:19 current timeUp 1 day, 7 min system running time, in the format of day: minute1 user current Login user countLoad average: 0.00, 0.00,
Ubuntu -- grubrescue Master Boot fix
If you have been using windows and ubuntu for a long time, you may have to reinstall a system or add another partition, resulting in system restart:
GRUB loadingerror:unknow filesystemgrub rescue>
Reprinted
Install and update libraries using external devices (optical drives) on linux1. Mount the optical drive (the directory does not exist, create)Mount-t auto/dev/cdrom/mnt/cdrom2. Modify the index file to read the local file.Vi/etc/yum. repos. d/CentOS-
How to install Suricata 2.0.1 on Ubuntu and derivative systems
Suricata is an open-source network intrusion detection and prevention engine developed by the Open Information Security Foundation and its supported providers. The engine is
Parse PDF files using product_box
Today, we are going to add a PDF Processing Function in the Nutch source code. The step to do this is to extract the text information in the PDF document. After consideration, we are still ready to use the
Install Linux on VMware Server
VMware Server (formerly known as VMware GSX Server)
VMware is a virtual machine software that can be installed on most pc-level servers or PCs. In vmwarevirtual machine software, it can install Windows operating
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