Awk
Print Specific Columns (separator=:): awk -F':' '{print $1, $3}' file.txt `` Filter Lines Based on a Condition: awk '$3 > 50 {print $1}' file.txt Condition awk '{if ($1 > 10) print "Greater"; else print "Lesser"}' file.txt Pattern Awk operates based on patterns and associated actions. If a pattern matches a record, the associated action is executed. If no pattern is specified, the action is applied to all records. For example, to print lines containing the word “hello”:...