各種のLinuxバージョンは配置と習慣にとって大きい異なることがあります。LPI Level 1 101
試験はいろんなバージョンの特徴を含めるには受験生に試験の難度を加えます。たとえば、rpmとdpkgを同時に受ける受験生はRedhatとDebian二つのバージョンに熟練使用することを要求されています。しかし、多くの試験要求はLSBをもとにして制定られて、いろんな衝突がある細部の問題がLSB( http://www.linuxbase.org/
) を参考することができます、LPI認証に参加してあなたがLSBに理解することに役に立ちます、
117-101
の問題
1. You've downloaded an image file of a boot floppy disk to your hard drive. What is the best utility to
create a boot floppy from the disk image? (Specify a single command without options.)
Answer: dd /bin/dd
2. In which directory must definition files be placed to add additional repositories to yum?
Answer: /etc/yum.repos.d /etc/yum.repos.d/yum.repos.d yum.repos.d/
3. The file myfile.txt contains the following data:
joe:x:100:100:Joe:/home/joe:/bin/bash
mike:x:101:101:Mike:/home/mike:/bin/sh
kevin:x:102:102:Kevin:/home/kevin:/bin/sh
matt:x:103:103:Matt:/home/matt:/bin/sh
What output will be displayed on the screen when the following command is executed:
grep o home myfile.txt
A. No output will be displayed on the screen
B. home
home
home
home
C. /home/joe
/home/mike
/home/Kevin
/home/matt
D. joe
mike
Kevin
matt
Answer: B
17. What information is displayed by the command cat /proc/dma?
A. whether DMA is enabled
B. which DMA channels are in use
C. which DMA mode is in use
D. general information about DMA on the machine
Answer: B
18. What file contains kernel level logging information such as output from a network driver module when
it is loaded?
Answer: /var/log/messages messages kern.log /var/log/kern.log
19. To what environment variable will you assign or append a value if you need to tell the dynamic linker
to look in a build directory for some of a program's shared libraries?
A. LD_LOAD_PATH
B. LD_LIB_PATH
C. LD_LIBRARY_PATH
D. LD_SHARE_PATH
E. LD_RUN_PATH
Answer: C