This post collects a list of shorts tips related with UNIX terminal tools. To extract information of a file, to find specific archives, etc …
awk and pr
AWK (or gawk) is a quite powerful line command. This is an example of how to combine it with pr. The pr command is useful to, for example, create a file with two columns from two previous one column files (or more complex operations).
The next example is based on a very simple file test-file.dat
You can simply try!
cut may be used to select an specific column number
Gives a list of those processes in background in the current shell session