1. awk is suitable for multi-column matching. it may be better if you use sed to match individual strings. 2. it is best to use () inclusion to separate awk for forward and reverse matching to avoid an error. 3. pay attention to matching a column !~
A common tail command can only view the output of one file. Save the following content as multail. sh #! /Bin/shfunctionclean () {# echo $ @; # forfilein & quot ;@ @ & quot; dops-ef | grep $ file | grep-vgrep | awk & amp; #39; {print a common tail
1 first download the pptpd source code from sourceforge http: sourceforgenetprojectspoptopfiles? Source = navbar2: compile the source code configure & amp; make & amp; makeinstall3.
1. first download the pptpd source code from
Before writing the correct script, let's talk about the exit status. An exit status is returned when any command is running. If you want to observe the exit status, use the final status command: $ echo $? There are four major exit statuses. Two
Tmpfs introduces tmpfs as a virtual memory file system, rather than a block device. It is a memory-based file system. when you create a file system, you do not need to use mkfs to initialize it. The biggest feature is that its storage space is in VM
I. CPU-related 1 CPU hardware information [@ 125opt] catproccpuinfoprocessor: 0vendor_id: GenuineIntelcpufamily: 6 model: 45mod I. CPU-related
1. CPU hardware information
[@ 125 opt] # cat/proc/cpuinfo
Processor: 0
Vendor_id: GenuineIntel
Cpu family:
Authorization, allowingincreasedbandwidthandredundancyLet & 039; sassumewehavetwonetworkinterfaces (NIC channel bonding allows multiple network cards to act as one, allowing increased bandwidth and redundancy. let's assume we have two network
1, see an article above oschina how to use multi-core CPU to accelerate your Linux Command & mdash; awk, sed, bzip2, grep, wc and other http: wwwoschinanetnews45477use-cpu-cores-linux-commands systems use Redhat5parall
1. see an article on
When selecting from the menu, you must enter the enter key after selection or Display & ldquo; pressanykeytocontinue & rdquo ;. You can use the dd command to solve the problem of not typing a carriage return to send the strike key sequence. Dd
The purpose and technology of a compressed file 1 currently our computer uses byte for measurement, but in fact the smallest unit of measurement of the computer is bit. We know that 1 byte = 8bit2 in simple terms, there will be a lot of & ldquo;
Many of my friends installed Linux and looked at the brand new menu style and unfamiliar programs, and suddenly their heads were empty (especially when the system did not install Chinese language support). I don't know what to do, so a strong idea
Centosminimal features: small, pure, fast to install, fast to start, suitable for automatic server installation deployment download Image: http: wwwcentosorg1, modify the host name vietcsysconfignetworking = yesHOSTNAME = wwwGATEWAY = 19216
Centos
Vi undo redo on forward and backward press u in vi to undo an operation u undo the previous operation Ctrl & amp; 43; r indicates that the command mode is enabled by default when the previous undo operation is started: Move the cursor with h (left)
Linux has the following shutdown and restart commands: shutdown, reboot, halt, and poweroff. What are the differences between them? Shutdown-the recommended command shutdown is the most common and secure command for shutdown and restart. it will
When a user logs on to Linux, Linux will perform the following checks: 1) match the user name entered in the etcpasswd file to obtain the UID and GID of the user name (where GID and etcgroup are associated), Home directory, and Shell settings 2)
Linux files have three time attributes: 1) mtime: The last modification time of the file content; 2) ctime: the time when the file status changes, such as permission and attribute changes. 3) atime: the time when the file content is accessed, such
Because the first time I used VPS in the hyper-v architecture in China, I had to specify whether to install windows or centos before I bought it. because I had a re-installed panel, I am really suffering from debian, various minor problems
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