Forrest logo
back to the seq tool

seq:tldr:be82c

seq: Separate the output with a space instead of a newline.
$ seq -s " " 5 3 20
try on your machine

This command is used to generate a sequence of numbers starting from 5 and incrementing by 3 up to the number 20.

  • seq is a command in Unix-like operating systems that is used to generate sequences of numbers.
  • -s " " is an option that specifies the delimiter between the numbers in the sequence. In this case, the delimiter is set to a space, indicated by "
  • 5 is the starting number of the sequence.
  • 3 is the increment between each number in the sequence.
  • 20 is the last number in the sequence.

So, when you run this command, it will generate the following sequence: 5 8 11 14 17 20.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the seq tool