Where to start First steps track · 15 stages
Linux Labs

Bash: text processing and scripts

Final test: Bash: text processing and scripts

Question 6 of 18
Leave the quiz

Read the output

Why did awk print 0?

$ head -n 3 sizes.csv
file,bytes
log1,500
log2,700
$ awk '{ s += $2 } END { print s }' sizes.csv
0
Back A–D or ↵ Sign in to answer
Loading…