running three commands

Issues related to applications and software problems
Post Reply
knzzz
Posts: 157
Joined: 2017/02/25 12:41:42

running three commands

Post by knzzz » 2019/10/02 08:46:02

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

tunk
Posts: 1205
Joined: 2017/02/22 15:08:17

Re: running three commands

Post by tunk » 2019/10/02 10:29:10


Post Reply