关于通配符知识的求教
Tofloor
poster avatar
zhaoyanxun-linux
deepin
2016-02-13 23:52
Author

() - 中间为子shell的起始与结束
[] - 中间为字符组合
{} - 中间为命令区块组合


小弟再学习Linux命令的通配符知识。
用命令touch love_{1..9}.txt能够正常创建0到9通配的文件,但是用touch love_{a..z}.txt就不能正常创建一串通配的文件。对于创建一串数字序列文件的命令已经成功,创建一串以字母通配的文件哪个大神给讲解一下。可能小弟对这个通配符的理解有误。小弟小白,在这求教了!

Reply Favorite View the author
All Replies
avatar
android
deepin
2016-02-14 00:06
#1
换个shell 试试
Reply View the author