Linux CLI - Linux Basics and Terminal
You want to create a Bash script that counts how many files in the current directory have a size greater than 1MB. Which command pipeline correctly achieves this?
find command can filter files by size using -size +1M for files larger than 1MB.wc -l counts the number of lines, which equals the number of files found.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions