Practice this fail.
The shell already opened your mail.
Bash / GNU find · Restart as often as you like
Read the error, choose a command, and learn
why it works. Nothing runs on your machine.
In Bash, app.log and server.log are in the current directory, and more logs exist in subdirectories. You are using GNU find.
The shell already opened your mail.
$ find . -name *.log
The shell expanded *.log before find saw it.
How do you recursively find regular files whose names end in .log?
Fixed. By hand.
find . -type f -name '*.log'Quote '*.log' so Bash passes the pattern unchanged to find. GNU find can then apply it throughout the directory tree. -type f restricts matches to regular files, avoiding directories whose names happen to end in .log.
Practice does not affect your daily score or streak.