Linux regular match Little note

1. Using a regular match file name# # grep-n ' [^\/][a-za-z0-9]*[.a-za-z0-9][a-za-z0-9]*$ ' Regular_express.txt/etc/init.d/hello.h/etc/init.d/hehe2. Using SED to extract the NIC IP(1)# ifconfig eth0 |grep ' inet addr 'inet addr:192.168.211.129 bcast:

Introduction to the use of Linux under CMake

CMake is a cross-platform compiled auto-configuration tool that uses a file called CMakeLists.txt to describe the build process, which can produce standard build files. It can use simple statements to describe the installation of all platforms (the

Linux uses Ionice to limit Xen virtual machine disk IO

vps

As a VPS service provider we need to ensure that each VPS fair use of the host (server) resources, to avoid a certain VPS due to program death cycle, hang, abuse and other factors "drag" other VPs, if this happens how to temporarily limit the VPS

Linux external connection port number limit

These two days do stress tests and found a problem when simulating TCP Client number of outbound connections reached 28000 when left and right, the following exceptions begin to be thrown in large quantities:Java.net.BindException:Cannot Assign

Linux Sort command Details

Original: http://www.cnblogs.com/51linux/archive/2012/05/23/2515299.htmlLinux Sort command DetailsSort is a very common command in Linux, sort by tube, concentrate, five minutes to fix sort, start now!1 How the Sort worksSort compares each line of a

Linux Server Management: System's process Management PS command

Source Code Bundle:2015-06-30 12:11:25First we can go through the network to download the corresponding source package: We take Apache as an example;wget http://archive.apache.org/dist/httpd/httpd-2.4.9.tar.gzDecompression: Tar zxvf

Linux Add DNS server address

Ping www.baidu.com on Linux does not work, which means that the domain name server is not well-equipped.Cat/etc/resolv.conf look at the configured IP. How can I know the IP of the domain name server?I found that Windows computer can be on Baidu,

Some uses of Linux date-d

the format output type character in the date command has the following meanings:A%%a of the current locale (for example: Day, representing Sunday)%a the full name of the current locale (e.g., Sunday)%b the month name of the current locale (e.g.: one,

How to efficiently delete the last line or lines of a dozens of G text file under Linux

When we log or text data on the server side, sometimes there is a need to delete the last few lines of a large file, then how to efficiently implement.Internet browsing finally found the DD command, pro-test as follows, delete a 32GB log file the

Linux account management and related commands and operations

Users and GroupsUser:1: User and UID correspondence2: User needs to have permission to read, write, execute other user's filesGroup:1: Group and GID correspondence2: The user needs to be added to the group3: Each user has their own default group

Conversion of Deb format to RPM format in Linux environment

Today to deploy a Python script on an online server, which used the MYSQLDB, a variety of attempts to download the source code (a variety of dependencies are incompatible with the library), Get/yum (this linux is really pure ah these two can not be

Process status query on Linux

There are 5 states of processes on Linux:1. Running (running or waiting in the running queue)2. Interrupt (dormant, blocked, waiting for a condition to form or receive a signal)3. Non-interruptible (receive signal does not wake up and not run,

Linux Standalone Installation subversion-1.8.18

First, the required packages1, apr-1.4.6.tar.gz:http://apr.apache.org/2, apr-util-1.4.1.tar.gz:http://apr.apache.org/3, pcre-8.20.tar.gz:http://www.pcre.org/4, SERF-1.2.1.TAG.BZ2:HTTP://PAN.BAIDU.COM/S/1DDHFMHVThis library provides support for HTTP

Where fork--child processes start running in Linux

Transfer from http://blog.csdn.net/koches/article/details/7787468The background color of the yellow is I added ... If I can't understand it, I'm bacchanalian .a wonderful thing about a fork call is that it is called only once, but it can return two

Linux Query System load

The Linux uptime command is primarily used to obtain information such as host uptime and query Linux system load. The uptime command used to show only how long the system was running. Now, you can show how long the system has been running, the

Configuring the PYQT5 Environment for python3.4 on Linux Mint 17.1

1. Installing QTConfigure QT PATHAppend in the/etc/profile fileExport qtdir=/usr/local/qt5.4.2/5.4/gcc_64export ld_library_path=${ld_library_path}:${qtdir}/libexport Path=${qtdir}/bin:${path} Note the order of ${qtdir}/bin and ${path}! Because there

In CentOS7 (64-bit), QT5.5 connects to the MySQL database (driver not loaded) and centos7qt5.5

In CentOS7 (64-bit), QT5.5 connects to the MySQL database (driver not loaded) and centos7qt5.5 To connect to MySQL using qt, you need to share the driver of libqsqlmysql. so. The path is under the plugin/sqldrivers directory. At first glance, it is

Monitor hard disk status with smartd in CentOS

Monitor hard disk status with smartd in CentOS Compared with processors and memory, the hard disk is the slowest subsystem on the server, the most prone to performance bottlenecks, and the most vulnerable part. Because the hard disk is the farthest

CentOS boot 10 steps

CentOS boot 10 steps The boot process refers to the entire process from powering on the computer until the user logon screen is displayed in LINUX. Analyzing the LINUX boot process is also a good way to gain a deep understanding of the core

Build a SVN server supporting HTTP in CentOS 7

Build a SVN server supporting HTTP in CentOS 7Prerequisites: Disable the firewall or selinux first. Of course, you can configure it to allow some ports to pass through I am violent, and I use close to handle it. systemctl disable firewalldsystemctl

Total Pages: 5467 1 .... 1382 1383 1384 1385 1386 .... 5467 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.