Hi friends,
I am using below script to do some work. But even though script is working fine but while executing it i am getting command not found error.
Here is the script :-
#!/bin/sh
Names="name.txt"
###main#####
for LINE in `cat ${Names}`
do
Name=`echo $LINE |awk -F'|' '{print $1}'`
`<some Command>:$Name`
echo $Name is unlocked
done
echo "Unlocking is done"
NOte:- its reading Names one by one from file and executing some commmnad. Functionality is working fine but i am not sure whey
"./script.sh: line 11: Unlocked: command not found" is coming.
Regards
Harpal Singh