Here are some questions from the LPI certification exam level 1, exam B: (state jan 2002) How do you find from which package a file, e.g. XF86Config, was installed? dpkg --list XF86Config dpkg --audit XF86Config dpkg --search XF86Config dpkg --contents XF86Config dpkg --listfiles XF86Config What is a reasonable command to install a set of debian packages stored in directory temp ? dpkg -I temp dpkg -iGRE temp dpkg -I temp/*.deb dpkg -iGRE temp/*.deb How do you check a PGP signature of an RPM package? rpm --checksig package.rpm rpm -qp --checksig package.rpm rpm -qpil package.rpm rpm -Vpil package.rpm rpm -qV package.rpm Generate a complete report for analyzing changes which may be security related? rpm -Va > report rpm -Qavy > report rpm -Vqt --nomd5 > report rpm --checkfiles > report rpm -Va --nofiles > report How do you display the ChangeLog of an installed package foobar ? rpm -Vc foobar rpm -qpil foobar rpm --changelog foobar rpm -q --changelog foobar rpm -qa --changelog foobar Which parameter do you use with lpr, to print a job 2 times ? lpr -#2 ?? Which IRQ is normally dedicated to the second printer port on a PC? IRQ 5 IRQ 11 LPT1 LPT2 DMA 330 How do you get a list of files that have been installed from a dpkg package? dpkg --list foobar dpkg --audit foobar dpkg --search foobar dpkg --contents foobar dpkg --listfiles foobar