A question on find command

I need to find all files with file names starting with

alert

and ending with

.log

I mean, the following files should be returnrned
alertTST.log
alertabcdefgh.log

How can i do this ?

What you have tried ..

Try this while in the prompt:

man find

A tip:

find <path> -name "<filename pattern>" -type f

I hope it helps! =o)

Did find one command related to this.

find / -name alert\*log

What is the function of \ (in red above) ?

The "\" is to escape the "*"!

I prefer to use between double quotes:

find / -name "alert*log"