Fortune Telling Collection - Comprehensive fortune-telling - What is the explanation of the awk command?
What is the explanation of the awk command?
Operation mode: awk "condition type 1{ operation 1} condition type 2{ operation 2} ..." file name.
# last | awk“{ print $ 1 " \ t " $ 3 }”& lt; = = View the data of the recorder, and only display the login name and ip address, separated by [tab].
Awk's built-in variables.
What the variable name represents.
Total number of fields per NF line ($0)
What line of data is awk currently processing?
FS current delimiter, default space bar
Awk's logical operator
trait
AWK is an excellent text processing tool. Is this unfair? Linux? It is also one of the most powerful data processing engines in any environment. The greatest function of this programming and data processing language (named after its founders Alfred Aho, peter weinberger and Brian Koenigan) depends on the knowledge one has. AWK provides extremely powerful functions: style loading, flow control, mathematical operators, process control statements and even built-in variables and functions can be executed.
- Related articles
- The influence of Jupiter's entry into Scorpio on Leo
- What does the mother of eight noble people mean?
- Automatic birthday calculator, how is the birthday calculated?
- Why do you want to find a willow to recognize your godmother?
- Fortune-telling broom _ What does a fortune-telling broom with money mean?
- God stick fortune-telling animation _ God stick fortune-telling animation watch online
- Teasing little brother's routine love story
- The development history of aode
- 1 1 month's zodiac sign, what is the zodiac sign of a dog born on the lunar calendar1/month? Is it a scorpion?
- Young man's door-to-door fortune-telling _ Young man's door-to-door fortune-telling video