I have two files with two different values. I want to run a command in loop which needs input from both file. Let me give the example to make it simple.
File1 contents:
google yahoo
File2 contents:
mail messenger
I need output like the below
google is good in mail yahoo is good in messenger
How can I use a for/while loop to achieve the same?
I need a script to:
$File1 needs to replace first result in File1 and $File2 needs to replace first result in File2
/usr/local/psa/bin/domain --create domain $File1 -mail_service true -service-plan 'Default Domain' -ip 1.2.3.4 -login $File2 -passwd "abcghth"