小编Tyl*_*man的帖子

Bash 命令行内嵌数组

任何 bash 大师都知道如何将下面的命令变成一行代码?

trutch:$ touch app/views/pages/_sponsors.html.erb
trutch:$ touch app/views/pages/_donations.html.erb
trutch:$ touch app/views/pages/_volunteers.html.erb
Run Code Online (Sandbox Code Playgroud)

我希望能够做这样的事情:

trutch:$ touch app/views/pages/[ARRAY].html.erb
Run Code Online (Sandbox Code Playgroud)

如果您有任何诸如此类的 bash 技巧来源,也将不胜感激。

linux bash command-line-interface

1
推荐指数
1
解决办法
1303
查看次数

标签 统计

bash ×1

command-line-interface ×1

linux ×1