Use of awk or sed to filter out the ouput

Hi,

i am trying to get the system model with the help of awk :

 
$ prtconf | awk '/^System Model/'
System Model: IBM,8408-E8D

but i want just the below outout that is command should chk for pattern <IBM,> and remove it from the final output :

 
System Model:8408-E8D

Can someone provide some hint

try

prtconf | awk '/^System Model/ {print "System Model:" $2}' FS=','
1 Like

thanks a lot Makarand Dodmis for your quick help :slight_smile: