阅读背景:

如何在Linux Bash中将ls分配给数组?

来源:互联网 
array=${ls -d */}
echo ${array[@]}  

I have three directories: I have




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: