Skip to main content
seq

seq

9.6
A small program that prints a list of numbers
  • noun
  • Specialized
translation icon : seq
  • To create a sequence of numbers in your shell script, simply type 'seq 1 10' to print numbers from 1 to 10.

Examples

  • The seq command generates a list of numbers that can be used in scripts to automate tasks.

  • Using the seq command, you can quickly produce a range of numbers for statistical analysis.

  • Another nice function to create vectors in R is the seq function which creates a sequence of numbers.

  • 2 EXT. MARS RED ROCK DESERT (DREAM SEQ. #1) - DAY 2 TWO PEOPLE in space suits walk across the Mars surface, down a slope, across a flat area, and up onto a small ridge.

    Fiction book (1990)

Surface Forms

seq singular
seqs plural

Etymology

Seq as a computer command is short for sequence, from the root sequ- meaning 'to follow', so the command prints numbers in order, each number 'following' the one before.