Seq Usage

Basic usage of CentOS command, seq

To print numbers in sequence from A to B

seq 8 11

seq

Print numbers in sequence with equal width, try seq -w 7 9 and seq -w 9 101 to see the differences

seq -w 8 11

seq

Print numbers in sequence with designated separator

seq -w -s " " 8 11
seq -w -s "|" 8 11

seq
seq