I have 2 files, one with list of text files and the other with content I want to add.
I can't seem to be able to use the variable in a bash script.
the script is like this:
for name in $(cat /home/stuff/list) do keysss=`cat /home/stuff/test` sed -i "27i $keysss " $name done
This way it gives an error. Other ways I've tried print the word but I want to print the content of it into file
ps. the files contain ca root certificates