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
The previous chapter describes the variables and replacement operations. The most common mistake in performing variable replacement in a script is the reference error. It is very important to reference in the command line. Here, only the reference
XFS file system 1. create an XFS file system 1. install 2. & amp; 26684; Mount 2. expand the online extension of the XFS file system, no need to uninstall III. maintenance of XFS file system 1. file creation 2. View fragment 3. fragment 4. After
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
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 a user logs on, the system executes the etcprofile file. the root user does not want other common users to interrupt the process. He usually blocks signals 1, 2, 3, and 15 by setting traps, and then re-opens these signals when the user reads
First, view the current machine Nic IP1 display the currently started network interface command: ifconfig2 view all current network interface command: ifconfig-a3 view the specified network interface command: ifconfigeth0 IP address modification in
When executing a command, it sometimes depends on whether the previous command is successfully executed. For example, assume that you want to copy all the files in a directory to another directory, and then delete all the files in the source
Classification: Linux_Linux basic operations 2013-12-1820: 43117 people read Comments (0) add to favorites report 1 understand bash this shell1 manages the entire computer hardware is actually the operating system kernel, this kernel needs to be
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)
I. linux operating systems are divided into independent services and non-independent services. The independent service script is placed under etcinitd.
I. linux operating systems are divided into independent services and non-independent services.
1) first, partition the disk. right-click the disk on the computer and choose "manage"> "Disk Management" () to install the hard disk allocated by Ubuntu. The size of the disk should be (20 GB or above) and not be too small.
1) first, right-click
In LinuxUnix, only the daemon can continue to run without the terminal. when a common process closes the terminal, it exits because it receives the SIGHUP signal (suspended signal. When
In Linux/Unix, only the daemon can continue to run without 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