An administrator wants to find all files in the current directory tree that are larger than 100 MB and have the .log extension. Which find command will accomplish this?
Trap 1: find
Size unit should be M, not MB.
Trap 2: find
Finds files smaller than 100 MB.
Trap 3: find
Missing -name filter for .log files.
- A
find . -name '*.log' -size +100M
Correct: finds .log files larger than 100 MB.
- B
find . -name '*.log' -size +100MB
Why wrong: Size unit should be M, not MB.
- C
find . -name '*.log' -size -100M
Why wrong: Finds files smaller than 100 MB.
- D
find . -type f -size +100M
Why wrong: Missing -name filter for .log files.