Bash command output is shown as a table but not able to extract column as they are in the output instead of that each word is acting as a field, if in the shown output column two words are there both of these words i am getting as two fields even though these two are one of the cell value of column.
$disk status
Disk States tiers
In Use 10
Spare 2
Available 13
TOTAL DISKS 25
here TOTAL DISKS is in Ist column but I am using awk and taking $1(first field) it is giving TOTAL, but I want TOTAL DISKS. how to do this, I am not getting it?
$NF.