[root@hexingxing ~]# echo {0..10}
0 1 2 3 4 5 6 7 8 9 10

[root@hexingxing ~]# echo {0..90}
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30

[root@hexingxing ~]# echo {a..z}
a b c d e f g h i j k l m n o p q r s t u v w x y z

[root@hexingxing ~]# echo {A..X}
A B C D E F G H I J K L M N O P Q R S T U V W X

[root@hexingxing ~]# echo {a..z..2}
a c e g i k m o q s u w y

[root@hexingxing ~]# echo {a..z..3}
a d g j m p s v y

[root@hexingxing ~]# echo a{a..z}
aa ab ac ad ae af ag ah ai aj ak al am an ao ap aq ar as at au av aw ax ay az

[root@hexingxing ~]# echo b{a..z}
ba bb bc bd be bf bg bh bi bj bk bl bm bn bo bp bq br bs bt bu bv bw bx by bz

[root@hexingxing ~]# echo {a..z} | cut -c 15

[root@hexingxing ~]# echo {a..z} | cut -c 15,21
hk


友情提示:本站所有文章,如无特殊说明或标注,均为何星星原创发布。与此同时,趋于近年来本站的文章内容频繁被他站盗用与机器采集,现已全局禁用网站文字内容操作,了解详情或转载文章请 点此 继续!

0 条评论

发表回复

Avatar placeholder

您的电子邮箱地址不会被公开。 必填项已用*标注