I. What is a processA process is an executing program or command, each of which is a running entity, has its own address space, and consumes a certain amount of system resources. Note that processes and threads are not a concept. In the end what is
1, awk Introduction: Awk is a powerful text analysis tool, compared to grep lookup, sed editing, awk in its analysis of the data and generate reports, it is particularly powerful. To put it simply, awk reads the file line-by-row, using spaces as the
First, the SEDThe Grep tool feature can only be found and cannot replace the found content.SED itself is a pipeline command, mainly in the Behavior unit processing, can be the data row to find, delete, replace characters or strings, swap string
Simple optimization:1. Remove unnecessary packages (such as postfix, etc.)Yum remove-y postfixInstallation Management:1. Password1.1 At least 8 characters, case, special character and number combination, change periodically1.2 Password length can be
find/root/-type f-name "Test1.txt" |xargs CatXargs put the previous result in the back one to deal withDelete command:Find/root/data-type f-exec rm-f {} \;Find + path + "-type" + type + "-exec" + process + Find result {}\;find/root/data/-type
Linux User-related profiles
Linux primarily uses user profiles to view and modify user information
etc/passwd
First field: User nameSecond field: Password flag (indicates that the user has a password, the password is placed
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 also referred to as Perl or Python), generally used to establish a Web
Files and directoriesCd/home Enter '/home ' directory 'Cd.. Return to the top level directoryCd.. /.. Return to the top level two directoryCD into the personal home directoryCD-Return to the last directoryPWD Display work pathls to view the files in
LinuxCrond Scheduled Task exercisesCrond is a service or software that is used on a system to perform regular commands or to specify program tasks. strictly speaking,the Linux system has a lot of scheduled tasks, such as: At, Crontab, Anacron,
Crond Process:Crond is a daemon used to periodically perform certain tasks under Linux, installing the operating system installs the service tool by default, and the Crond process is started automatically, and the Crond process periodically
1.Linux has developed another virtualization technology: Linux container (Linux Containers, abbreviated as LXC)The 2.Linux container is not simulating a complete operating system, but rather isolating the process3.Docker is a package of Linux
Disk ManagementEquipmentDevice filesDevice typeBlock: Random access as a "block", such as a hard diskCharacter device (char): In "character" units, sequential access to keyboardDevice numberMain device number (major): Identifies the device
1. Create a directory/dataMkdir/data Create data under the root directoryLs-l/data/View the data under the root directorycd/data/Switch to Data belowPWD to see which directory is currently under2. Relative path and absolute pathAbsolute path from
1. Open the virtual machine CD drive to add a disk and restart the Linux system after creation2, the following to partition the diskCreate an extended partitionTo establish a logical partition on an extended partitionIn establishing a logical
Transferred from: http://blog.51cto.com/19055/11446001)/etc/profile will be executed when logging in.A global (public) configuration that reads the file when logged on, regardless of the user.(2)/ECT/BASHRC Ubuntu does not have this file,
The SEQ command is used to generate all integers from one number to another.Grammarseq [Options] ... Mantissa seq [Options] ... First number of mantissa seq [options] ... First number increment MantissaOptions-f Specify format, format output with
The reason is that the environment variable (cross-compilation path) may be added under a normal user, so the file created under root user cannot find ARM-LINUX-GCC when it is compiled with ARM-LINUX-GCC.Workaround: Find a terminal: sudo-sSOURCE
IPC for Linux system programming (Inter Processes Communication)First, the signal1. Generation of SignalsSoftware interrupt, asynchronous communication, Ctrl+c,kill function, kill command, hardware exception (segment error), software exception2. The
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