Artificial intelligent assistant

how to print field between the double quote I have the following file `conf.txt`: perl /home/site/gen.pl "GG - W C1 Test - sai1" "15072" && ssh 13.4.93.103 perl /home/site/gen.pl "GG - W C1 Test - sai2" "15072" && ssh 13.4.93.104 perl /home/site/gen.pl "GG - W C1 Test - sai3" "15072" && ssh 13.4.93.105 how to print the third field - between the "...." , for example GG - W C1 Test - sai1 GG - W C1 Test - sai2 GG - W C1 Test - sai3

Try using `awk`:


awk -F'"' '{ print $2 }' conf.txt

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 1b463f64ded199eff2ad1114ec4108f2