PrepAway - Latest Free Exam Questions & Answers

Choose the command that will display these files correctly.

You have a directory named images, this directory contains various digital images of various file format types. You need to list all of the .gif and .jpg files. You decide to use a find command to gather this information.

Choose the command that will display these files correctly.

PrepAway - Latest Free Exam Questions & Answers

A.
find ./images -type f ( -name *.gif -o -name *.jpg ) ‘{}’

B.
find ./images -type f ( -name ‘*.gif’ -a -name ‘*.jpg’ ) -print

C.
find ./images -type f ( -name *.gif -o -name *.jpg )

D.
find ./images -type f -name “*.gif” -name “*.jpg” -print

E.
grep ash userdata ; grep ksh userdata


Leave a Reply