Linux Foundation Certified System Administrator (LFCS) — Question 2
What output will the following command produce?
seq 1 5 20
Answer options
- A. 1
- B. 1
- C. 1
- D. 2
- E. 5
Correct answer: A
Explanation
The command seq 1 5 20 generates a sequence starting from 1, incrementing by 5 until it reaches or exceeds 20. Therefore, the only output produced is 1, making option A correct. Options B, C, D, and E do not represent valid outputs of the command.