Six week fourth session (March 15)ReviewExtendedPrint the contents of a row to a line http://ask.apelearn.com/question/559Print content by keyword, #sed-n '/\[abcd\]/,/\[rty\]/' p testPrint content by number of lines,# sed-n ' 4,8 ' P testsed
1. Library functions, system calls, user States and kernel statesKernel call refers to entering the kernel state and then executing the instruction and then returning to the user
Linux system logs:
/var/log/secure:Record log in system Access data files, such as Pop3,ssh, Telnet, FTP, etc. will be recorded in this file;
/var/log/wtmp:Record the information of the logged-in person, as this file has been encoded,
Linux default is to allow ping response, whether the system allows ping to be determined by 2 factors: A, kernel parameters, B, firewall, requires 2 factors to allow the ping,2 factor can be allowed to ping any one of the forbidden Ping. First, by
This essay is the Linux Experiment Report One, discusses the Linux system installs and the preliminary application. Limited by the time Fine (Neng) force, this article is a few brief description. If a factual error is found, readers are not to be
Centos7Nginx mysql PHP can be installed separately and then in the configuration Nginx mutual phpInstall some of the necessary libraries first------------------------------------------------------------------------------------------------------------
OneLinux Introduction
Operating system, the English name is operating system, abbreviated as OS, is essential in computer system software, it is the application operation and user operation necessary basic environmental support, is the core of
This command is to package multiple files into a single file, and can be compressed at the same time-C Create archive-X expand Archive-T View file list in Archive-F Specify archive file namePackage 3 files into a file Note that the order of CF
C Language exercises in Linux: pointers for mystrcmp, mystrlen, and mystrcmpmystrlen
C Language exercises in Linux: pointers for mystrcmp and mystrlen
# Include
# Include
Char * mystrcmp (char * str, char * str1) {while (* (str ++)-*
How to Use crontab to regularly execute task commands in Linux
In LINUX, The cron Daemon Processes tasks in a periodic manner [ps-ef | grep cron]. Cron reads one or more configuration files that contain the command line and the call time.
The cron
How to install pip and python Virtual Environment virtualenv in Ubuntu
In ubuntu, although Python 2 is provided, there is no pip. I encountered some problems during the recent installation of pip and tried many methods on the Internet. Such as
When the monitor is a DP interface, Win10 installs Ubuntu14.04.5 dual system tutorial, win10ubuntu14.04.5
This article focuses on the DP interface. If the host has a VGA interface, it can be reached. If only the DP interface is available, you can
Linux mounting, Common commands, and mounting devices
Linux mounting
1. Yesterday's review
Common vi commands
Save: w in tail row Mode
Exit: tail row mode: q
Force save and exit: wq!
Save and exit: wq
Delete: Command mode dd
Delete multiple rows:
In linux, how does one view the environment variables of a process ?, Linux environment variables
Principle: when a process is executed, a pid-marked Virtual File System is generated in linux, which records a large amount of information about the
Summary of common elasticsearch Problems and Solutions
1. unable to install syscall filter: Java. lang. unsupportedOperationException: seccomp unavailable: requires kernel 3.5 + with
Sharing common linux commands and sharing common linux commands
Query logs in a certain period of time in a log
Sed-n'/16:17:20/,/16:17:36/P' test. log
The date must be printed in log. Use grep '2017-12-17 16:17:20 'test. log to query whether the
Linux if command judgment condition summary, linuxif
Linux if command judgment condition SummaryLinux if command
Limit type of file attributes
-A: If the file exists
-B. If the file exists and the file is a regional Device File
-C: returns true if
A detailed description of the three timestamps in LINUX, and a detailed description of the three timestamps in linux
Linux systems classify time into three types:
Atime (Access time): the time when the file was last read.
Ctime (statusChange time):
Linux commands and knowledge
This document mainly records the commands and knowledge learned over the past two days. For future query. The system uses centos7.x.
Su-user: switch to a specific user.
Example: su-root: switch to the root user.
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