A technician needs to find all files ending with the `.log` extension within the `/Users/Shared/` directory that have been modified in the last 48 hours. Which of the following commands is the most precise way to accomplish this?
-
A
ls -lt /Users/Shared/*.log
-
B
find /Users/Shared/ -name "*.log" -mtime -2
-
C
grep -r ".log" /Users/Shared/
-
D
mdfind -onlyin /Users/Shared/ "kind:log"