Pan Heng Original works reproduced please specify the source "Linux kernel Analysis" MOOC course http://mooc.study.163.com/course/USTC-1000029000How does a computer work?This lesson is about understanding how the computer works by understanding the
Bulk Replace file content under Linux 1, on-line information on the networkFormat: Sed-i "s/lookup field/replace field/g" ' grep lookup field-rl path 'Linux SED Bulk replaces strings in multiple filesSed-i "s/oldstring/newstring/g" ' grep
[[email protected] Host name ~] #这里面的波浪号 ~ refers to the home directory of the user rootEnter the command CD in any directory and cut it back into the home directoryCommand CD ~ Username indicates access to the user's home directoryCommand
I. Linux file permissionsLinux is a multi-user system, under Linux different users can have different permissions to the same file, we use the "ls-l/" command to view/directory file permissions, as follows:1Ls-l/2Total dosage the3Drwxr-xr-x2Root
Description of UseSets the alias of the command. In a Linux system, if the command is too long and does not conform to the user's habits, then we can specify an alias for it. Although you can establish a "link" for the command to resolve long file
To query the information for the mounted service, use the Mount Mount command:1[Email protected] monitor]$Mount|grep 172.16.182.1462 172.16.182.146:/home/richmail/logs on/logs/rm_htmlcode/logs_172.16.182.146Type NFS (ro,udp,nolock,addr=172.16.182.146
First, the Linux minimized installation, unable to find the network card problem:Using the vi editor, edit the NIC configuration file:Vi/etc/sysconfig/network-scripts/ifcfg-eth0Device=eth0Onboot=noBootproto=staticOntrolled=
01-.tar formatUnpacking: [*******]$ tar xvf Filename.tarPackage: [*******]$ tar cvf filename.tar DirName (Note: Tar is packaged, not compressed!) )02-.gz formatDecompression 1:[*******]$ Gunzip filename.gzDecompression 2:[*******]$ gzip-d
NetEase (163) Yum Source is one of the best yum sources in the country, both speed and software version is very good, the Yum source is set to 163yum, can increase the speed of package installation and update, while avoiding some common software
The partition of the hard disk is mainly divided into basic partition (primary partition) and extended partition two kinds. The sum of the number of basic and extended partitions cannot be greater than four. And the basic partition can be used
Remote Control Key-value ing and remote control key-value ing
Enter the getevent command in linuxThe remote control presses a key, the second line appears, and the second number is the hexadecimal value corresponding to the key,Convert it to the
Vim highlight search operation
After using Vim for so long, some basic operation commands cannot be kept in mind. When searching for a keyword today, you cannot find the "Next", So google will fix it and paste all the useful information.
SEARCH
Linux high memory Learning summary, linuxmemory
The free command has a parameter l, which indicates show detailed low and high memory statistics. In fact, the first thing is that High Memory is always zero (64 for Linux ). What is actually more
Script for obtaining basic information about a Linux Server
A simple script written for routine O & M is used to obtain Linux Server OS, CPU, memory usage, load, hard disk usage, and network information in a centralized manner.
The script is
Kafka cluster deployment
1. About kafka
Kafka is a high-throughput distributed publish/subscribe message system that can process all the action flow data of a website with a consumer scale. Such actions (Web browsing, search, and other user actions)
Configure Nginx to support playback in f4v video format
By default, Nginx does not support playback in f4v video format. The solution is to edit the mime. types file and add f4v to video/mp4.
Types {# Data interchangeApplication/atom + xml
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