What output will the following command produce?
seq 1 5 20
Click on the arrows to vote for the correct answer
A. B. C. D. E.A
The seq
command is used to generate a sequence of numbers. The syntax for the seq
command is:
perlseq [OPTION]... LAST
In this case, the command is seq 1 5 20
. This means that the sequence will start at 1, increment by 5, and stop at 20. So the sequence will be:
1 6 11 16
Therefore, the answer is option A: 1
.