Forrest logo
back to context overview

seq

List of commands for seq:

  • seq:tldr:5cb7e seq: Sequence from 1 to 10.
    $ seq 10
    try on your machine
    explain this command
  • seq:tldr:bc8f9 seq: Every 3rd number from 5 to 20.
    $ seq 5 3 20
    try on your machine
    explain this command
  • seq:tldr:be82c seq: Separate the output with a space instead of a newline.
    $ seq -s " " 5 3 20
    try on your machine
    explain this command
  • seq:tldr:bea94 seq: Format output width to a minimum of 4 digits padding with zeros as necessary.
    $ seq -f "%04g" 5 3 20
    try on your machine
    explain this command
back to context overview