Latest Posts
- Finding Files by Date in Linux/Unix: A Comprehensive ‘find’ Command Guide
- Efficient File Search in Linux/Unix: A Guide to Using ‘find’ by Name
- How to Use the ‘find’ Command by File Type in Linux/Unix: A Practical Guide
- Best Practices for Sorting with the Top Command in Linux/Unix
- ls of command in linux
Tags
awk awk -F awk examples background run script bash awk command grep linux curl disk space docker commands docker usage du find and grep find command find examples Google Analytics grep -v grep examples java java example linux awk linux command linux find linux grep linux ls ls -al ls -lrt ls examples ls sort ls sort by size mkdir mv examples mysql mysql example rm sed sed examples sed tutorial seo Shell tutorial top vim vim examples vim tutorial w wordpress
Tag Archives: linux awk
AWK tutorial: awk sort uniq
In daily development, we often use awk command to cut and sort log file columns and count them. awk sort uniq count example awk column count linux Sort – n : sorted by the size of the value; – r … Continue reading
Posted in Awk Command, Text Processing
Tagged awk examples, awk sort uniq, linux awk, linux command
Comments Off on AWK tutorial: awk sort uniq
AWK tutorial: awk [-F] print example
– awk print last field
– print line number per line
– print specific columns
– use -F specifies a delimiter Continue reading
Posted in Awk Command, Text Processing
Tagged awk examples, awk NF NR, awk OFS, linux awk, linux command
Comments Off on AWK tutorial: awk [-F] print example
AWK tutorial: awk remove last character
awk remove last character use awk length and substr functions
Posted in Awk Command, Text Processing
Tagged awk examples, awk remove, linux awk, linux command
Comments Off on AWK tutorial: awk remove last character
awk system batch operation
1. use awk command batch creation of files
awk ‘BEGIN {do {++i; system(“touch file_num_” i “_test”) } while (iContinue reading