linuxmemes

gawk '{if(NR % 2 ==0) {print}}' /var/log/pacman.log /test.txt

gawk '{if(NR % 2 ==0) {print}}' /var/log/pacman.log /test.txt