curl vs wget difference and basic use
Curl and wget of Linux commands, curl and get have many similarities, such as the following downloads. To make a difference, curl is better at...
How to quickly clean up disk space on Mac systems
As the computer usage time increases, the storage space is gradually reduced, and it is necessary to clean up some useless files from time to...
How to sort by size, type, time, name using linux ls command
Linux ls command can use command options to sort files or directories. This article describes: ls sort by size, ls sort by time, ls sort...
mac shells and shell switching
mac shells There are many kinds of shells, and OS X can be viewed using cat /etc/shells, for example: OS X comes with zsh, Linux...
I love you China!
...
linux dig command and use examples
dig (domain information groper) is a flexible tool for interrogating DNS name servers.This article describes the use of dig and the meaning of the output....
AWK tutorial: awk group by count
When we are dealing with log files, we often need to count the number of times some keywords appear. For example, count the number of...
awk merge files base on the keyword
use the awk variables NR and FNR merge files base on the keywords.
awk -F' ' 'NR==FNR{a[$1]=$2;}NR!=FNR{print $0, a[$1]}' test-4.txt test-5.txt...
awk custom function and examples
Here, you need to use the awk custom function to implement the abs function. awk 'function abs(x){return (x < 0) ? -x : x;} {print...
AWK tutorial: find and kill process use awk
Step 1. View the process ID pid of the top command.
Step 2. Use the awk command to get the process ID.
Step 3. Use...
Google Analytics to modify the display language
Step 1. Go to Google analytics and click Admin to go to the administration page.
Step 2. Click the USER tab to enter the user settings...
WordPress installs the Google Analytics method
Why does wordpress have to install google analytics? Two ways to install Google Analytics: wordpress plugin and code configuration. Specific steps ......
AWK tutorial: awk -F and awk BEGIN{ FS … }
Usually, when I use awk for text processing, I prefer to use the awk -F option for text field separation. Of course, we can also...
AWK tutorial: awk regex example
What Is Regex?
Types of Regex:BRE and ERE. Awk using BRE regex Patterns, Special Characters; Awk using ERE regex Patterns, matches the start...