Question:
How do i pass arguments from one file to another and then execute a cmd ?
Scenario
2 files , file one is called solarisdisks and the other is called veritaslist
solarisdisk is :
c3t30d11
c3t30d12
c3t30d13
c3t30d14
c3t61d11
c3t61d12
c3t61d13
c3t61d14
veritaslist
hd3_3_11
hd3_3_12
hd3_3_13
hd3_3_14
hd3_61_11
hd3_61_12
hd3_61_13
hd3_61_14
what I want to do is once I have vxdg init <dgname> diskname=c?t?d?
I want to run is a command that will basically do
vxdg -g <dgname> adddisk <veritaslist>= <solarisdisk>
Cheers
visvid
How do i pass arguments from one file to another and then execute a cmd ?
Scenario
2 files , file one is called solarisdisks and the other is called veritaslist
solarisdisk is :
c3t30d11
c3t30d12
c3t30d13
c3t30d14
c3t61d11
c3t61d12
c3t61d13
c3t61d14
veritaslist
hd3_3_11
hd3_3_12
hd3_3_13
hd3_3_14
hd3_61_11
hd3_61_12
hd3_61_13
hd3_61_14
what I want to do is once I have vxdg init <dgname> diskname=c?t?d?
I want to run is a command that will basically do
vxdg -g <dgname> adddisk <veritaslist>= <solarisdisk>
Cheers
visvid