perl -ne "@cols=split(/ /); print if $cols[1] eq 'geheim' and $cols[2] eq '127.0.0.1'" file.txt