running three commands

Issues related to applications and software problems
Post Reply
Posts: 156
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


Posts: 870
Joined: 2017/02/22 15:08:17

Re: running three commands

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

Post Reply

Return to “CentOS 7 - Software Support”