{ echo ' ' ;echo ' IP : ' ;ip route get 8.8.8.8 | cut -d' ' -f7,8 | tr -d 'src' ;echo ' ' ;dmidecode -t bios | grep -iw 'Version' ;echo ' ' ;}
the output of above command mentioned is:
IP : 10.0.0.1
Version: 1.8
but i want to allign it properly example below:
IP:10.0.0.1|Version:1.8
kindly help this is an urgent request. Thanks in Advance