Chapter 10
- Nothing
You should use the variable name without the dollar sign to print it.
- Solution: zero
Because you should print $1
instead of $2
where $1
is the first field.
- The
while
loop should iterate withi
value less than4
not3
. 1
Because the only user that has UID less than 1
is root (UID=0
), so one line will be printed.