Linux self-study note--sed command

sed Line Editor:sed is a row editor that processes a single line of content at a time. When processing, the currently processed row is stored in the temporary storage area, called the "pattern Space", and then the SED command to process the contents

Basic usage of Linux Nginx

Nginx-s reload-p -c Where-p-c is optional, does not write as default path and configurationBefore executing the command, you canNginx-t-p<>-c<>Check that the custom configuration file is correctIn addition nginx Stop command forPS grep NginxKill 3043

Linux Common commands

aop

CD: Enter a directoryTAB key: Auto-complete codeCopy: Just select the content you want to copyPaste: Right mouse buttonProject Package Backup: TAR-ZCVF ggpt (project name). tar.gz20170914 (date ID) ggpt (project name)Decompression: Unzip-o/home/webs/

Linux Network configuration Script

#!/bin/baship=$1if [-F "/etc/sysconfig/network-scripts/ifcfg-bond1"]thenbreakelse#ip= ' IP A | Grep-e "192.| 10. "| Grep-v ":" | awk ' {print $} ' | Awk-f '/' {print $ ' gw= ' echo $ip | Awk-f "." ' {print $ '. $ "." $ ". 254"} ' sed-i ' s/enforcing/

How Linux files are deleted

Linux file Deletion principle: Linux is controlled by the number of link to delete the file, only if a file does not exist any link, the file will be deleted.In general, there are 2 link counters for each file: I_count and I_nlink.The meaning of

Linux Installation Introduction

First, Basic introductionLinux is a free-to-use and free-to-propagate Unix-like operating system, a POSIX and Unix-based multiuser, multitasking, multi-threaded and multi-CPU operating system.Linux can run major UNIX tool software, applications, and

Use tcpdump to intercept Linux server-side network data

Syntax Examples:Tcpdump-vv-i ens3 ' ((TCP) && (host 183.239.240.48) && (port 3001)) '-C 100-w 12.cap-I indicates a specified network deviceThe following strings are rules, and the rules are usually so spliced:" not " "and" "or" Rule statements

Linux one-day footprints: Process Management

ProcessProcess: Running in-memory program instances, a process is a state of running a program, is an in-memory concept, the process and process can not access the other side of the private memory area.Threads: the smallest unit that a program runs,

Linux Basics and Common commands

frequently used commands:#View Port usageNetstat-tunlp|grep 22#View Java ProcessesPs-ef|grep java#compression front-end engineeringRAR a-ep1./update/win32.zip./packages/**/win32/*#Find all files and folders with wineFind/-name *wine*#files that

Linux-related code path memo.

https://github.com/torvalds/linux/blob/master/net/core/dev.c?utf8=%E2%9C%93#L7736Yesterday at 11:35Https://github.com/torvalds/linux/blob/master/net/core/sock.c?utf8=?

20170915 Linux System Management training

Process Management Programs: Usually binary programs in the storage medium (such as CD-ROM, hard disk, floppy disk, tape, etc.), in the form of physical files exist;Process: The program is running, after the program is triggered, the

Learning notes for Linux _day4

Fourth day, continue to study. See a word today, "Do you think you think is what you think?" ", this sentence still a little meaning Ah!!!I. Commands to view the contents of a fileFile dest: View the types of files. In Linux, the types of files are

Linux modifies system time

[[Email protected] ~]# DateMonday, February 13, 2017 22:14:49 CST[Email protected] ~]# date-s 02/16/17Thursday, February 16, 2017 00:00:00 CST[Email protected] ~]# date-s 13:27:40Thursday, February 16, 2017 13:27:40 CSTThe hardware clock is

Error resolution for using the Yum command under Linux

The Linux system encountered the following error when using the Yum command:Loaded Plugins:fastestmirrorExisting lock/var/run/yum.pid:another copy is running as PID 3404.Another app is currently holding the Yum lock; Waiting for it to exit ...The

Linux Desktop remote Windows system

Linux Desktop remote Windows system1. Install the Yum reference address:http://lk886655.blog.51cto.com/7036409/19655482. Installing Rdesktop#yum Install Rdesktop3. Enter the following command at the command line#rdesktop-G 1024x768-u username-p

Linux installation and remote connection, linux installation and remote connection

Linux installation and remote connection, linux installation and remote connection 1. Create a new virtual machine on VMware to ensure that there is an iso image file for the linux version. Specific reference http://jingyan.baidu.com/article/eae07827

VNC installation,

VNC installation, Server Environment: CentOS 6.7Client environment: Windows 71. Install the VNC server on the server You can directly install the vnc server at rpm: rpm -ivh tigervnc-server-1.1.0-16.el6.x86_64.rpm If a dependency is found during rpm

Mysql database Incremental backup and mysql database Incremental Backup

Mysql database Incremental backup and mysql database Incremental Backup MySQL database Incremental backup. Before that, modify our database configuration file/etc/my. cnf to enable the bin-log function. Next, I have referenced some methods on the

Summary of common vim operations and summary of vim

Summary of common vim operations and summary of vim Vim is a text editing tool. Therefore, you do not need to remember all functions when learning it. You only need to work more efficiently when using vim. This article summarizes the vim operation

The Linux shell ftp command downloads files based on the file date,

The Linux shell ftp command downloads files based on the file date, Requirement: ftp obtains the remote data file and downloads the file according to the file creation time. You can expand it based on the file size and other

Total Pages: 5467 1 .... 3789 3790 3791 3792 3793 .... 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.