Think before you speak, read before you think.

seq使用方法

seq 5 会打印 1-5 的数字,一个数字一行

1
2
3
4
5

seq 22 27 打印 22-27 数字

22
23
24
25
26
27

seq -w 00 05 打印 00-05

00
01
02
03
04
05

同理
seq -w 000 005 打印 000-005

000
001
002
003
004
005

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *