The Basics awk is treat each line as a table, by default space are separators of columns. General syntax is awk 'search {action}' file_to_parse. # Give the value higher than 75000 in column $4 df | awk '$4 > 75000' # Print the all line when column $4 is higher than 75000 df | awk '$4 > 75000 {print $0}' But if you...
The Basics sed -e 'โฆ' -e 'โฆ' # Several execution sed -i # Replace in place sed -r # Play with REGEX # The most usefull sed -e '/^[ ]*#/d' -e '/^$/d' <fich.> # openfile without empty or commented lines sed 's/ -/\n -/g' # replace all "-" with new lines sed 's/my_match.*/ /g' # remove from the match till end of line sed...