"As you can see, awk prints out the first and third
fields of the /etc/passwd file, which happen to be the username and
uid fields respectively. Now, while the script did work, it's not
perfect -- there aren't any spaces between the two output fields!
If you're used to programming in bash or python, you may have
expected the print $1 $3 command to insert a space between the two
fields. However, when two strings appear next to each other in an
awk program, awk concatenates them without adding an intermediate
space. The following command will insert a space between both
Some of the products that appear on this site are from companies from which QuinStreet receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. QuinStreet does not include all companies or all types of products available in the marketplace.