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.

posted @ 2016-07-26 16:26  Big_Foot  阅读(236)  评论(0编辑  收藏  举报