Help for this page
Select Code to Download
Select
or
download this
perl -lane 'print if $F[1] =~ /localhost/' /etc/hosts
Select
or
download this
perl -lne 'print if /localhost/' /etc/hosts