Bird
0
0

In a Linux command, what is the role of options (also called flags)?

easy📝 Conceptual Q1 of 15
Linux CLI - Linux Basics and Terminal
In a Linux command, what is the role of options (also called flags)?
AThey display the command's manual
BThey modify how the command behaves
CThey are the main command name
DThey specify the file or directory to work on
Step-by-Step Solution
Solution:
  1. Step 1: Understand command parts

    A Linux command usually has a command name, options, and arguments. Options change how the command works.
  2. Step 2: Identify the role of options

    Options (flags) modify the command's behavior, like showing hidden files with -a in ls.
  3. Final Answer:

    They modify how the command behaves -> Option B
  4. Quick Check:

    Options = Modify behavior [OK]
Quick Trick: Options always start with a dash (-) to change command behavior [OK]
Common Mistakes:
  • Confusing options with arguments
  • Thinking options are the command itself
  • Assuming options specify files

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes