Linux Foundation Certified System Administrator (LFCS) — Question 111

What output will the command seq 10 produce?

Answer options

Correct answer: B

Explanation

The correct answer is B because the command seq 10 generates a sequence of numbers starting from 1 up to 10, displaying each number on a new line. Option A is incorrect as it suggests an infinite stream of numbers, while option C incorrectly starts from 0 and option D only outputs the number 10 without the complete sequence.