Head and tail are as simple as their name, which is used to display the beginning or end of a number of chunks of text, the head is used to display the beginning of the file to the standard output, and tail to see the end of the file.1. Command
The Whereis command can only be used for program name searches, and only binary files (parameter-B), man description file (parameter-m), and source code file (parameter-s) are searched. If the argument is omitted, all information is returned.Whereis
Process management One, process basic introduction
In Linux, each executed program and code becomes a process. Each process is assigned an ID number.
Each process corresponds to a parent process, which can replicate multiple child
1. Verify that the GCC g++ Development class Library is installed, by default.The UBUBTU platform compilation environment can use the following directivesApt-get Install Build-essentialApt-get Install LibtoolThe CentOS Platform compilation
learning content from Mo python:linux TutorialNanonanois a text editing tool for Linux. We can use it to do the most basic terminal-end text editing, even write code ~ below we used to touch create a Python script. We can nano edit the text or
Linux has a lot of commands to achieve file compression, but also the existence of various extensions of compressed files. Previously saw these commands and parameters, really do not know which to choose, so the system of learning a bit today, also
A string interception of Linux is useful. There are eight ways.Suppose there is a variable var=http://www.linuxidc.com/123.htm1 # Intercept, delete the left character, and leave the right character. Echo ${var#*//}where Var is the variable name and
8.14 "Linux learning is not difficult" Linux Common Operations Command (+): grep command finds a string in a file that matches a conditionUse grep command can finds a string within a file that matches a condition. Command syntax:grep [ options ] [
12.6 Nginx InstallationCd/usr/local/srcwget http://nginx.org/download/nginx-1.8.0.tar.gzTar zxvf nginx-1.8.0.tar.gz./configure--prefix=/usr/local/nginxMake && make installSee if the configuration file is wrong-t/usr/local/nginx/sbin/nginx-tTo start
Day4 python full stack s3 the last Class review
S3 Python full stack day4 create user-related files
S3 Python full stack day4 users and delete the search and group related operations
Python full stack s3 Day4 permissions Management for
ProblemZabbix-agent to start an error on a single centos6.5:Cannot allocate shared memory of size 949056: [+] No space left on Devicecannot allocate GKFX memory for collectorCheck# sysctl-A | grep shm 33554432 2097152 4096Kernel.shmmax
LogThe role of the log:1. Solving the system problems2. Troubleshooting Network Services3. Record Past Events/var/log///log File save locationCron//Record recurring task scheduleDMESG//boot core detection informationLastlog//System all the last
Hardware Clock (UTC) sets system clock contain the time zone variable) in booting up. NTP server give time to system clock. "Date" Set system clock, "hwclock" Set hardware clock
hwclock--SYSTOHC //sync The system time to hardware time
1.1.1ls commandL LS (list) Feature: List Directory contentsL format: ls [parameter] [file or directory]All files and directories under-A or--all. Note Hidden files, special directories,. And..-l Use a detailed format list.-T is sorted with file and
BC is a command-line calculator under Linux. Parameter-I forced interactive mode-l use BC's built-in library-Q to enter BC Interactive mode no longer output version such as extra information special variable scale decimal reserved bit, default 0-bit
Lamp refers to the first letter of the Linux (operating system), Apachehttp Server, MySQL (sometimes also referred to as MARIADB, database software) and PHP (sometimes referred to as Perl or Python), which is generally used to build a Web
HDD Management (partition, SWAP,LVM)DPT: Partition table (64)Partition mode: MBR,GPTMSDOS: The total size of the hard disk is less than 2T (15 partitions)1 partitions occupy 16 bytes, msdos can be divided into 4 partitions. Primary partition,
12 weeks three sessions (April 25)12.10 Nginx Access Log12.11 Nginx Log Cutting12.12 static files do not log logs and expire time12.10 Nginx Access LogThe format of the configuration file is in the main configuration file.Search for log to find the
Linux system time is two, one is the hardware time, that is, the BIOS time, is the time we see the CMOS settings, the other is the system time, is the Linux system kernel time. When Linux starts, the system kernel reads the hardware clock settings,
Before the password of the Linux server was changed, and then called the owner of the server to reset the root account (server owner in the customer's company), after resetting, the leader called the change under rootUser name and password, so I
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