cdm="home/nmsadm/tngVersion/iconTestNetworkGenerator.sh -input /home/nmsadm/ipr/ipr_files/IP_1.xml -templateDir /home/nmsadm/Try_K/1 -nocs -erbsstart 1 -subnetwork 25 -iprstart 11"
#above statment is in a single line
$cdm
I stored one command in a variable called cdm, now I want to run this command so I used $cdm. But I'm getting an error
home/nmsadm/tngVersion/iconTestNetworkGenerator.sh: No such file or directory
I'm pretty sure that there is file in that specified directory.
How should I fix this?