我有一组客户姓名,我想用它们来制作目录。下面是我正在运行的代码:
$ echo "$customerArray=( customer1 customer2 customer3 customer4 customer5 )"
for customerName in $( customerArray );
do
mkdir -p /home/$customerName
mkdir -p /home/$customerName/outbound
mkdir -p /home/$customerName/outbound_backup
mkdir -p /home/$customerName/dropoff
done
谁能向我解释我做错了什么?