This is my .sh File
#!/bin/bash
/opt/cassandra/bin/./cqlsh -e "COPY mykeyspace.sampletable(id ,name ,employee,address) TO '/opt/AllCsv/$csvName.csv' WITH HEADER = true AND delimiter = '|' ;"
I am trying to execute it by
./copy.sh companyname
This is not placing the argument value at "$csvName" position. What went wrong ?