My xyz.csv file has data as below:**abc_hosts,def_host_id,sde_host_id,hostname,dffff_status,status,eeee,eeeeee,tttt,name1,name2,name3,**start,,,,,,,,,,,,,,,,,,,,2,3,eee,4,4,rrr,ggggg,323232,22323,2323232,sfdsfd,223333,443433323,45343,5445,213132,fdsfdfdfd,2332332321,3end,,,,,,,,,,,,,,,,,,,
read values of a column from file and print one bye one
text processing;sed;grep
As mentioned in the comment, IP address will always be in the line which will always contain eth0, depending on that you can run this commandgrep eth0 Platform_Configuration.csv | cut -d',' -f5 | tr -d '**'