Category: Linux Text Processing

Linux common commands tutorial and use examples

Linux Commands Tutorial 1. Linux common directory command list 2. Linux file operations commands 3. Linux file permissions commands 4. Linux file content view commands 5. Linux text processing commands ......

How to using multiple delimiters in awk and sed

Multiple delimiter-separated fields in awk or sed. Using awk command: ➜ awk -F'[:=|]' '{print $1, $2, $3}' test.log; Using sed command: ➜ sed 's/[:=|]/ /g' test.log...

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...