LPIC exam 101 trainer

By Pygmalion  
 
These questions are intended to help you train for the LPI exam. Please note that they are not official exam questions. 
 
1. How many devices can be connected to an Ultra Wide SCSI bus (including the host adapter)?
 
32
16
8
4
 
2. How can you check the integrity and origin of an RPM package?
 
rpm --checksig package.rpm
rpm --verify package.rpm
rpm -V package.rpm
RPM does not support this.
 
3. Which of the following commands will give you the amount of diskspace used on the root filesystem in kilobytes ? (choose the best 2 answers)
 
du -k /
df -skx /
df -k /
du -skx /
 
4. Your serial modem is not working. You start suspecting there's an IRQ conflict somewhere in the system. What command would you use to determine the modem's IRQ (the modem is on COM1)?
 
setserial /dev/ttyS0
cat /proc/interrupts
getserial /dev/ttyS0
cat /proc/irqs
 
5. What is the default signal for the kill command if no signal is specified as a command-line option?
 
SIGHUP
SIGINT
SIGKILL
SIGTERM
 
6. You want a process to keep running after you have logged out. What command to use?
 
bg
nohup
fg
jobs
exec
 
7. After installing a program, shared object 'libmysqlclient.so.10' cannot be found. However, the object file is available on your system. What should you do? (choose the best 2 answers)
 
Copy the file libmysqlclient.so.10 to where you installed the new programs
Edit the file /etc/ld.so.conf
Run the command 'ldconfig'
Run the command 'ldd libmysqlclient.so.10'
 
8. What command(s) can be used for a find and replace in a text file or a text stream?
 
grep
sed
cat
tr
 
9. How would you list all PCI devices on your system?
 
pcimodules
lspci
cat /proc/pci
pci-info -l
 
10. Given the command 'ps -auxw | tee list', where will the process list be sent?
 
To standard output and to standard error.
To standard output and to a file called tee.
To standard output and to a file called list.
To a file called tee and to a file called list.