I am using a shell script to collect data from db, the using command is given below:
$sh /tmp/testdb.sh "select * from table1;"
the query is getting by shell script is like this:
select Desktop Documents Downloads Music Pictures Public Templates Videos from table1;
the * is here taking as all files present in that directory, so How can I overcome this issue , please help me.