Seq (Unix)
On Unix-like computer systems, seq is a utility for generating a sequence of numbers.[src]
On Unix-like computer systems, seq is a utility for generating a sequence of numbers.[src] Remove file1 through file17: for n in `seq 17` do rm "file$n" done seq had additional options for controlling the start (not just end) of the numeric sequence, its increment (a floating point number), and the formatting of the number.[src] GNU seq changed the name and meaning of the format option (from to ) and added an option to control the separator between the numbers ( , defaults to a newline).[src] With other alternatives available (e.g., expr), and with more recent shells adding builtin numeric iteration, seq is less commonly used today.[src] In the modern Linux shell, bash, the above example can be alternatively written as: for n in {1..17} do rm "file$n" done and more efficiently, without actually generating the whole sequence in advance, as for ((n=1; n ==References== ==External links==[src]
6 sentences · 6 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Seq (Unix)." encyclopegia.org, 2025, https://encyclopegia.org/wiki/seq-unix. Accessed 01 December 2026.
Chicago
"Seq (Unix)." encyclopegia.org. Accessed December 1, 2026. https://encyclopegia.org/wiki/seq-unix.
APA
encyclopegia.org. (2025). Seq (Unix). Retrieved December 1, 2026, from https://encyclopegia.org/wiki/seq-unix
Accessed December 1, 2026 · CC BY-SA 4.0 · citation page · JSON