The big deffrence between ($(du * )) and $(du *)

Infolist=($(du *))
echo "Get the list one $Infolist"
This has formed a array after quating the “()”。


Infolist=$(du *)
echo "Get the two $Infolist"
This is just a string for the Infolist.

原文地址:https://www.cnblogs.com/Berryxiong/p/5707941.html