6
rated 0 times
[
6]
[
0]
/ answers: 1 / hits: 8139
/ 2 Years ago, sun, july 31, 2022, 7:27:26
I'm working on my bash script to create logical volumes. I have this command which I want to put in a if to check of each of these succeed. What is the easiest way to do that?
#!/bin/bash
pvcreate /dev/md5
vgcreate vg0 /dev/md5
lvcreate -L 200MB vg0 -n test
More From » bash