Where to start First steps track · 15 stages
Linux Labs

Bash: text processing and scripts

Quiz: scripts

Question 5 of 9
Leave the quiz

Read the output

“old reports” holds three files, yet the script prints 0 and two find errors. Which change gives 3?

#!/bin/bash
dir="$HOME/script-lab/old reports"
find $dir -type f | wc -l
Back A–D or ↵ Sign in to answer
Loading…