Linux Three Musketeers awk, SED, grep1, awk is mainly used to do the breakdown, matching, calculation work2, SED is mainly used to do the replacement (stream processing)3, grep is mainly used to filter out the required textawk (the default delimiter
Get help with the use of commandsInternal command:Help COMMAND[[Email protected] etc]# type cdCD is a shell builtin[[email protected] etc]# Help CDCD:CD [-l|-p] [dir]Change the shell working directory.External command:COMMAND--help[Email protected]
Linux file system is a generalized file system, can be considered that the Linux system for any device and object operation is equivalent to the operation of the file.The Linux system abstracts all operational objects in a highly abstracted way,
Linux Historyunderstand history to judge trends. Since we are already planning to jump into the pit of OPS, it is necessary to understand the historical deeds of the martyrs. Why is that necessary? Now we are in a knowledge age, the capital is
Unit four device partitioning and Disk ManagementPartitioning methodFDISK/DEV/VDB Division Command/dev/vdbWelcome to Fdisk (Util-linux 2.23.2).Changes'll remain in memory only, until the decide to write them.Be careful before using the Write command.
RM command
Function descriptionLinuxinRMthe command is to delete files and directories. When using-RFparameter, it is important to note that because the directory and the file are deleted,Delete one or more files or directories in a directory,
Nginx Start-up /usr/local/nginx/sbin/nginx-c/usr/local/nginx/conf/nginx.conf Where the-c parameter specifies the configuration file path. Nginx's Stop Nginx supports the following kinds of signal control:-term, INT quick close-QUIT calmly close-HUP
hand-crafted every open source of information and technology dry, Hundreds of thousands of programmers and linuxer have been concerned. Through this article to record my learning experience in the Linux system, talk about why I can not leave the
Linux system is a typical multi-user system, different users in different positions, with different permissions. In order to protect the security of the system, the Linux system has different requirements for different users to access the same file (
Experimental requirements:N Primary name server address is ns1.benet.com (173.16.16.5)N from the domain name server address of ns2.benet.com (173.16.16.6)N the following parsing records are provided for the benet.com,accp.com regions. L M
Text processing, regular expressions, cut, grep, Egrep, FgrepLinux Chinese this processing tool is most commonly used in the text Processing Three Musketeers grep, SED, awk and the regular expression, you can achieve enough text processing functions.
# #自动安装系统# # # Kickstart ScriptKickstart script is a script file that automatically answers all problems during the installation of the systemThis file enables automatic installation of the systemAfter the system is installed, it will be generated
Tar command1. The tar command is a reliable way to back up files in a unix/linux system and works in almost any environment, with permissions for all users.2. Format tar [main option + Secondary options] File or directory Eg:tar zxvf
Touch screen Use process:1. Press to create the interrupt.2. Start the ad conversion xy coordinates in the interrupt handler.The 3.AD conversion ends and an ad interrupt is generated.4. Escalate the information in the ad's interrupt handler function
Configuration file
. BASHRC/.ZSHRCSave personal personalization settings, such as command aliases, paths, and so on. The. BASHRC is typically called explicitly in the. bash_profile file. Log in to Linux to start bash first read the
When you install Ubuntu and get the IP address of the corresponding host, to connect to the Ubuntu host via a remote connection tool like Xshell, you need to install the OpenSSH software on the Ubuntu host you just installed to connect to the Ubuntu
In Linux, install the Lrzsz. Of course Windows WINSCP Tools and FTP can also be done from Windows to upload files to Linux (download can also). "Upload and download process, whether it is WINSCP ftp or Lrzsz have a hidden problem, I have time to
Linux application basics, linux applications
File Location:
System commands:/bin and sbin directories, or shell internal commands;
Application:/usr/bin and/usr/sbin directory.
/Usr/bin: Common execution program file;
/Usr/sbin: The execution program
Mount and detach linux mount Hard Disks
Linux mounting
[root@whp6 ~]# mount /dev/sdb5 /mnt/[root@whp6 ~]# df -hFilesystem Size Used Avail Use% Mounted on/dev/sda3 16G 2.1G 13G 14% /tmpfs 931M 0 931M 0%
Sphinx incremental index and sphinx Increment
First, create a counting table to save the latest record ID of the data table.
Create table 'flac _ counter '('Id' int (11) unsigned not null,'Max _ id' int (11) unsigned not null,Primary key ('id '))
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