seq sequence序列
[[email protected] ~]# seq 5 8
5
6
7
8
打1-10的奇数:
[[email protected] ~]# seq 1 2 10
1
3
5
7
9
打1-10之间的偶数:
[[email protected] ~]# seq 2 2 10
2
4
6
8
10
横着打:
[[email protected] ~]# seq -s " " 5 -s:指定分隔符
1 2 3 4 5
[[email protected] ~]# seq -s "@" 2 2 10
[email protected]@[email protected]@10
时间: 2024-10-13 05:39:47