QuestionQ110

Essential Commands

What output does the command seq 10 produce?

  • A A continuous stream of numbers increasing in increments of 10 until stopped.
  • B The numbers 1 through 10 with one number per line.
  • C The numbers 0 through 9 with one number per line.
  • D The number 10 to standard output.
Explanation

With one operand, seq uses a starting value of 1 and an increment of 1, printing each integer through the specified final value on a separate line.

Community Discussion

No comments yet. Be the first to start the discussion!