Bird
0
0

What does the -type f option do in the find command?

easy📝 Conceptual Q1 of 15
Linux CLI - Searching and Finding
What does the -type f option do in the find command?
AIt searches only for files.
BIt searches only for directories.
CIt searches for files and directories.
DIt searches for symbolic links only.
Step-by-Step Solution
Solution:
  1. Step 1: Understand the -type option

    The -type option filters results by file type.
  2. Step 2: Identify what f means

    f stands for regular files, so it finds only files.
  3. Final Answer:

    It searches only for files. -> Option A
  4. Quick Check:

    -type f = files only [OK]
Quick Trick: Use -type f to find files only, not directories [OK]
Common Mistakes:
  • Confusing -type f with directories
  • Using -type d instead of -type f

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes