sequence_of_numbers
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
sequence_of_numbers [2022/12/15 09:53] – created juckins | sequence_of_numbers [2025/03/20 19:11] (current) – juckins | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==== Using seq to Create a Sequence of Numbers | + | ==== Using seq to Create a Sequence of Numbers |
$ seq -w -s " " 5 18 | $ seq -w -s " " 5 18 | ||
Line 7: | Line 7: | ||
09 12 15 18 21 24 27 30 33 36 39 42 45 48 | 09 12 15 18 21 24 27 30 33 36 39 42 45 48 | ||
+ | -w adds zero padding | ||
+ | -s replaces the new line with a space | ||
+ | You can set the interval as shown with the " |
sequence_of_numbers.1671116012.txt.gz · Last modified: 2022/12/15 09:53 by juckins