Where to start First steps track · 15 stages
Linux Labs

Bash: text processing and scripts

Quiz: searching and editing text

Question 9 of 10
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…