JAVA/Sun Exam Questions

Choose the command that will find these files.

You need to find all files in your home directory hierarchy that contain the string sample in the file name. You want a relative path to each file so you can easily retrieve it.
Choose the command that will find these files.

A.
ls -l * | grep -v sample

B.
find . -print | grep sample

C.
ls -Rl | grep -i sample

D.
grep sample < find . -print