Bird
0
0

What does the -L option do when used with the curl command?

easy📝 Conceptual Q1 of 15
Linux CLI - Networking Commands
What does the -L option do when used with the curl command?
ALimits the download speed
BFollows HTTP redirects automatically
CShows only the HTTP headers
DSaves the output to a file
Step-by-Step Solution
Solution:
  1. Step 1: Understand the purpose of the -L option

    The -L option tells curl to follow any HTTP redirects it encounters.
  2. Step 2: Compare with other options

    Options like limiting speed, showing headers, or saving output are done with different flags.
  3. Final Answer:

    Follows HTTP redirects automatically -> Option B
  4. Quick Check:

    Option -L = Follow redirects [OK]
Quick Trick: Use -L to follow redirects automatically [OK]
Common Mistakes:
  • Confusing -L with -I for headers
  • Thinking -L saves output
  • Mixing -L with speed limit options

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes