Linux Command learning: grep Text Search Tool

Mark: This series is just a record of the author in the Linux learning process of a bit, novice may refer to, the master will skip it!!!Linux Learning Summary:grep Text Search Toolfunction: According to the user-specified text pattern (search

Summary of commands for viewing hardware information under Linux operating system

1. View the CPU model[Email protected] ~]# Cat/proc/cpuinfo | grep name | Awk-f: ' {print $} ' |uniq Intel (R) Xeon (r) CPU e5-2620 0 @ 2.00GHz2. View the number of physical CPUs[Email protected] ~]# Cat/proc/cpuinfo | grep physical |sort

Linux Practical Case Jobs (1)

1, the creation of a 10G file system, the type of EXT4, requires the boot can be automatically mounted to a separate data/data directory; #fdisk   /dev/sda#partx -a /dev/sda#mke2fs  -t ext4  /dev/sda3#mkdir  /data  /dev/sda3  /data ext4  defaults 0 0

Installation and configuration of Linux Server for NFS

Note: After the centos6.x Portmap has been replaced by Rpcbind and installed with the nfs-utils installation, all Portmap are replaced with Rpcbind as described below.I. Introduction TO Services for NFSNFS is the abbreviation for the network file

Copy of Linux Standard IO

---restore content starts---Copy of 1.linux standard IO#include int main (int argc,char **argv){if (argc{printf ("Use:mycp file1 file2\n");return-1;}File *src=fopen (argv[1], "R");// Open source fileif (src==null){printf ("No

Solve the problem of too many FIN_WAIT2 connections for Linux servers

In an HTTP application, there is a problem with server shutting down the connection for some reason, such as the timeout of keepalive, so that the server as an active shutdown will enter the Fin_wait2 state, but there is a problem with the TCP/IP

FTP Service for Linux file sharing

OutlineFirst, the relevant concept of FTPSecond, the FTP service implementationThird, the implementation of virtual users with MySQLFirst, the relevant concept of FTP(1), FTPFTP is the abbreviation for file Transfer Protocol (document Transfer

Analysis of Linux users, groups and rights management

I. Users and Groups1. UserThe system is used to authenticate (authentication), authorize (Authorization), Audit (autition) accounts. Log in to the system by logging in to the user. The operating system invokes a process or program that corresponds

Linux Learning Note (one-by-one) DF command

The function of the DF command in Linux is to check the disk space usage of the Linux server's file system. You can use this command to get information about how much space the hard disk is taking up, and how much space is left. 1. Command format:

Constructing finite state machines for Linux applications

Finite automata (finite automata machine) is an important cornerstone of computer science, which is commonly referred to as finite state machines (finite) in the field of software development, and is a widely used software design model Pattern).

Linux basic commands

First, the Directory Processing command1.mkdirThe path to the command:/bin/mkdirFunction Description: Create a new directory-P Recursive creationExample: MKDIR/TMP/FILE01The catalogue must be planned, and the command should have meaning.To make it

Basic regular expression character sink, regular expression character sink

Basic regular expression character sink, regular expression character sink ^ Word ---- meaning: the string to be searched (word) at the beginning of the lineExample: Search for the row whose first line is # and list the row numberGrep-n' ^ #

Nethogs, the latest network monitoring tool in CentOS

Nethogs, the latest network monitoring tool in CentOS Nethogs is a network traffic monitoring tool on a terminal. It displays the bandwidth usage of each process, so that the network usage can be obtained more intuitively. It supports IPv4 and IPv6

CentOS 6.x kernel Upgrade tutorial

CentOS 6.x kernel Upgrade tutorial I want to run docker on CentOS6.2. The official kernel version is 3.8.0 or later, so I downloaded the source code from the Linux kernel official website and compiled it myself.1. Prepare for checking the kernel and

Enable iptables firewall for CentOS

Enable iptables firewall for CentOS CentOS used iptables as the firewall before 7.0 and firewall after 7.0. In fact, I don't know why, but most people use iptables, so I also use it. 1. Disable firewall  1 // stop firewall2 sudo systemctl stop

Configure an extremely easy-to-use Linux System

Configure an extremely easy-to-use Linux System LinuxDesktop has always been a pain point for developers. Everyone loves the command line and configuration in linux, But they suffer from the absence of a friendly interactive interface to meet their

How to Use CentOS 7

How to Use CentOS 7 Recently, gnome and kde of CentOS 7 were used. gnome Desktop is not beautiful, and CPU and MEM usage are not large, but the server load is very high, in the end, the CPU temperature is too high and the automatic shutdown may be

An error occurred while mounting the NTFS partition on windows in dual-system Linux (ubuntu ).

An error occurred while mounting the NTFS partition on windows in dual-system Linux (ubuntu ). After installing a dual system (ubuntu & win10), I found that Windows disks are sometimes unavailable under ubuntu, so I searched the internet to solve

Install tomcat on CentOS and deploy a Java Web project

Install tomcat on CentOS and deploy a Java Web project1. Preparations A. Download the tomcat linux package at: http://tomcat.apache.org/download-80.cgi. the download method is 8.0.     B. because tomcat installation depends on Java jdk, we need to

Docker + Nginx + Tomcat 7 Simple Server Load balancer Configuration

Docker + Nginx + Tomcat 7 Simple Server Load balancer Configuration This article describes how to configure Simple Server Load balancer on Docker. The host machine is Ubuntu 14.04.2 LTS, two CentOS containers, Nginx installed on the host machine,

Total Pages: 5467 1 .... 1230 1231 1232 1233 1234 .... 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.