Pass array and string from one script to another script <p>Hi have two script one in calling the another. from one script I m trying to pass two parameters a string and an array. How can i receive it on another script. Script 1 :</p> <pre><code> $admin_script_path/aggregation_checklist_hdfs.sh "${aggregation_hdfs_folder}" "${incrementalArray[@]}" </code></pre> <p>Script 2 :</p> <pre><code>path="$1" echo "$path" specificAggregationArray=( "$@" ) </code></pre> <p>but these are not working.</p>