Page 1 of 1

running three commands

Posted: 2019/10/02 08:46:02
by knzzz
Hi all

i want to run the

vgexport $ABC ; vgimport $ABC ; vgchange -ay $ABC

in a script by getting the volume group ($ABC) name as input and how to do it if we have more than one set of volume group (for eg
$ABC $DEF $GHI) how to write it in script

Regards
Kanna

Re: running three commands

Posted: 2019/10/02 10:29:10
by tunk