186k views
2 votes
The true or false questions.

If find is run with no -exec option, then find will not take any action on the found files and there is no output to screen.

User Ans Bilal
by
5.5k points

1 Answer

7 votes

Answer:

false

Step-by-step explanation:

-exec option is not mandatory for the find command.

find will still list out the identified files even in the absence of -exec option.

For example:

find . -name test -print

will print out files with the name 'test' in the current directory. Note that there is no exec option in this example.

Same holds true for find with no additional options at all.

For example:

find .

will list out all files in the current directory.

User NSouth
by
4.9k points