Tag: awk
April 24, 2021
AWK, awk, AWK programming, BASH, bash script, BASH Shell, batch script, linux, Shell Scripts, ubuntu
Disk high usage are one of the common cause of server down. Some administrators would create a 8GB empty file, and once the disk usage is exceeding a threshold, …
This is the longest Linux shell command I’ve written! Last time, we presented the bash/awk command line prints the block number and the number of hours since last time …
How many hours/minutes or blocks are there since last time you generate a block as a witness? Today we are going to find out the answer using the LINUX …
Given a text file file.txt, transpose its content. You may assume that each row has the same number of columns and each field is separated by the ‘ ‘ …
How would you print just the 10th line of a file? For example, assume that file.txt has the following content: Line 1 Line 2 Line 3 Line 4 Line …