thanks grail..that was a good one....
but...small prob in that....
i have to echo it and ask for the user input if the details provided are correct...later on only i can redirect it...
and also sorry for confusion...is there any other way that i can use it some where outside the loop instead of redirecting it ?...
that would be really helpful i think.. because....instead of creating a file i can use outside the loop right ?...and perform the same which i want to do in the created file...
let me give my entire script
while read a b c
done < file.list
while [[ $option != yes && $option != no ]]
echo Are the information looks good ? Please answer [yes or no];
if [ "$option" = "yes" ]; then
echo " installing the commands "
@$b/$c [this is the part i want the variables to be used]
elif [ "$option" = "no" ]; then
echo "am not going to install "
Sorry for bothering !!