Summary of common usage of grep in Linux

grep is the command of the Linux Chinese editing class to select the desired text contentMain format: grep [option] "PATTERN" FILENAMEOption:-I ignores case-O displays only the characters that match-V Reverse display (shows rows not matched

Linux source reading notes ASM functions

The __ASM__ function is often encountered in Linux source code. It's actually a macro definition of function asm.#define __ASM__ asm,asm function allows the system to execute assembly statements.__asm__ often appear with __volatile__. The __volatile_

Linux single NIC binds two IP

#vi /etc/network/interfacesOR$ sudo vi /etc/network/interfacesModify as follows:1 Auto Eth02Auto Eth0:03Auto Eth0:14Iface eth0 inetStatic5Address192.168.1.16Netmask255.255.255.2487Gateway192.168.1.2548 9Iface eth0:0inetStaticTenAddress192.168.1.2

[Turn]linux to view system Information commands

Linux viewing System Information commands are essential for Linux beginners, and these commands are also useful because the first thing you can do to get into Linux is to look at the system information first, so the necessary systems to learn about

Linux releases cache memory

Before releasing memory# free-mTotal used free shared buffers Cachedmem:7831 7704 127 0 256 6813-/+ buffers/cache:634 7197swap:7999 0 7999Sync && echo 1 >/proc/sys/vm/drop_cachesSync && echo 2 >/proc/sys/vm/drop_cachesSync && echo 3

linux-implementing scheduled cleanup of logs

2 Steps for Scheduled cleanup1. Find out the files that need to be cleaned2, the system to increase the scheduled execution of tasksFirst step , VI dellog.shStep Two , find the files you need to clean upInput: Find/var/log/nginx-mtime +7-type f-name

Linux Environment Source code compilation install SVN

Zhoulf 2015/2/28 OriginalInstallation InstructionsInstallation environment: Red Hat Enterprise LinuxInstallation method: Source InstallationSoftware: apr-1.5.0.tar.gz, apr-iconv-1.2.1.tar.gz, apr-util-1.5.3.tar.gz,

Nginx installation in Linux and Linux Nginx Installation

Nginx installation in Linux and Linux Nginx Installation System Environment: CentOS 6.5 Nginx version: nginx-1.6.0.tar.gz 1: create a directory# Mkdir/doiido/soft # Cd/doiido/soft 2: Install the dependent packages required by Nginx: # Yum-y

Linux Command details at scheduled task execution, linuxat

Linux Command details at scheduled task execution, linuxatCommand: A task can be executed only once at a specified time. Syntax: # at [parameter] [time] At> executed command Exit at command ctrl + d Command prerequisites: You need to enable the atd

Linux Startup error unexpected inconsistency; RUN fsck MANUALLY, inconsistencyfsck

Linux Startup error unexpected inconsistency; RUN fsck MANUALLY, inconsistencyfsck If an unexpected power failure occurs, the following error is reported when CentOS is started: Unexpected inconsistency; RUN fsck MANUALLYAn error occurred during

How to install jdk, tomcat, and linuxjdktomcat in linux

How to install jdk, tomcat, and linuxjdktomcat in linux Jdk: http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase6-419409.html#jdk-6u21-oth-JPR   I. Installation Create the installation directory, create

Rotten mud: Apache and rpmapache for making RPM packages in the Linux source code package

Rotten mud: Apache and rpmapache for making RPM packages in the Linux source code package This article is sponsored by Xiuyi linfeng and first launched in the world There are many servers in the company. You need to make the apache source code

Linux host time synchronization Summary (ntpdate)

Linux host time synchronization Summary (ntpdate) Time Synchronization is required when the production server is deployed,In particular, the Database Host must synchronize time,Prevent low-level errors! Summarize my deployment experience: 1. Create

Use crontab to automatically back up databases in Linux

Use crontab to automatically back up databases in Linux Use crontab to automatically back up databases in Linux Here we use the crontab scheduled task addition and mysqldump to perform simple database backup. The specific steps are as follows:1.

Run the command chmod to modify CentOS file permissions.

Run the command chmod to modify CentOS file permissions.In Linux, each file and directory has access permission to determine who can access and operate files and directories.File or directory access permissions are divided into read-only, write-only

Some common Linux commands

Some common Linux commands There are too many commands in Linux. Here we will sort out some of them for the time being. For the sake of practicality, no specific parameters are listed here. Part 1: File Operations Ll view directories and files in

Usage of rpm commands in CentOS

Usage of rpm commands in CentOSI. Introduction to RPM 1. What is rpm?Rpm (RedHat Package Management) is one of the RedHat inventions. 2. Why rpm? In an operating system, you must install software packages that implement various functions. These

CentOS6 use a local CD to install the graphical interface

CentOS6 use a local CD to install the graphical interface Here is the installation tutorial using a CD: 1. First, attach the disc. Note that the directory will not be automatically created when the disc is mounted. Therefore, you need to create a

Install mongoDB on CentOS7

Install mongoDB on CentOS7 MongoDB is one of the most well-developed NOSQL databases. It is eye-catching in the storage of big data and space data!Generally, mongoDB is deployed on a linux System in enterprise-level applications. For Tom, deploying

Nginx Access Control in CentOS

Nginx Access Control in CentOS The Nginx access control module will be installed by default... Unless you... His instructions and usage are also super simple... Command:Allow Syntax: allow address | CIDR | unix: | all; default

Total Pages: 5467 1 .... 3710 3711 3712 3713 3714 .... 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.