Awk time functions: systime, mktime, strftime
Awk time functions: systime, mktime, strftime. systime: systimeGet the timestamp; mktime: Create the timestamp; strftime: Format the time ......
Awk built-in functions: split, tolower, toupper, sprintf
Awk built-in functions: split, tolower, toupper, sprintf. Splits the parameter specified by the String parameter into the array elements ......
Awk built-in functions: index, match, length
Awk's built-in string processing function is the one we use most.we share with you: index, match, length...
Awk built-in functions: gsub, sub, substr
Awk's built-in string processing function is the one we use most. Today, we share with you: gsub, sub, substr....
awk print function in linux
Awk print function is a built-in function of awk, used for prints its arguments on the standard output (or on a file if > file...
Awk built-in functions – mathematical functions
awk supports the following built-in mathematical functions: atan2, cos, exp, log, sin, and sqrt....
Awk built-in variables and custom variables
In awk, variables are divided into two types: built-in variables and user-defined variables....
How to find empty lines in files in Linux
In Linux, there are three ways to find empty lines in files using grep and awk commands....
How to convert a string to lowercase in Linux?
This section describes how to use sed, awk, TR commands to convert strings to lowercase in Linux...
How to fast search for specified content in large files in linux
In linux, to search for specified content in large files, we can use tail -c or head -c commands....
6 methods of executing historical commands in linux bash
!! - repeat the previous command; !t - repeat the previous command headed by t; !Number - repeat the previous command with number ......
Awk classic case – awk analysis of nginx access logs
Awk classic case - awk analysis of nginx access logs.Count top visits and the number of visits in the most recent time....
vim tutorial: vim cursor move
Vim cursor move: 1. up, down, left, and right; 2. to the top of the file; 3. to the end of the line; 4. to...
vim tutorial: vim delete line
Vim delete lines, as the basic knowledge of vim is one of the functions we must master. Mastering the skills of deleting lines can improve...
awk replace statement and examples
Awk replace statement can help us format the input data conveniently. Use of awk string manipulation functions: gsub() ...