Search Results

Search: Posts Made By: JAW
2,713
Posted By JAW
Editing lsblk output
lsblk -o NAME | grep -A1 -w "sdh" |grep -v "sdh"
└─mpathw


Note the above output

I would like to create variable called $MPATH

echo $MPATH using the input of the above

echo $MPATH
...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 04:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy