各種のLinuxバージョンは配置と習慣にとって大きい異なることがあります。LPI Level 1 101試験はいろんなバージョンの特徴を含めるには受験生に試験の難度を加えます。たとえば、rpmとdpkgを同時に受ける受験生はRedhatとDebian二つのバージョンに熟練使用することを要求されています。しかし、多くの試験要求はLSBをもとにして制定られて、いろんな衝突がある細部の問題がLSB( http://www.linuxbase.org/ ) を参考することができます、LPI認証に参加してあなたがLSBに理解することに役に立ちます、
LPIC Level1認証を取って、いい仕事を見つかるには力になります
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
4. Which TWO runlevels should never be declared as the default runlevel?
A. 0
B. 3
C. 5
D. 6
Answer: AD
5. What does the command mount a do?
A. It mounts the floppy disk for all users.
B. It shows all mounted file systems.
C. It opens /etc/fstab to edit.
D. It mounts all file systems listed in /etc/fstab.
Answer: D
6. After modifying LILO's configuration file, what command should you run for the changes to take effect?
A. kill HUP `pidof lilo`
B. liloinstall
C. lilo
D. reboot
Answer: C
各種のLinuxバージョンは配置と習慣にとって大きい異なることがあります。LPI Level 1 101試験はいろんなバージョンの特徴を含めるには受験生に試験の難度を加えます。たとえば、rpmとdpkgを同時に受ける受験生はRedhatとDebian二つのバージョンに熟練使用することを要求されています。しかし、多くの試験要求はLSBをもとにして制定られて、いろんな衝突がある細部の問題がLSB( http://www.linuxbase.org/ ) を参考することができます、LPI認証に参加してあなたがLSBに理解することに役に立ちます、
LPIC Level1認証 を取って、いい仕事を見つかるには力になります
117-102 の問題集みんなと分かち合います
1.What word is missing from the following SQL statement?
update tablename ____ fieldname='value' where id=909;
ANSWER: SET,SET
2.Which of the following configuration files should be modified to set default shell variables for all users?
A./etc/bashrc
B./etc/profile
C.~default/.bash_profile
D./etc/skel/.bashrc
E./etc/skel/.bash_profile
Answer: B
3.To test a shell script called myscript, the environment variable FOOBAR must be removed temporarily.
How can this be done?
A.unset -v FOOBAR
B.set -a FOOBAR=""
C.env -u FOOBAR myscript
D.env -i FOOBAR myscript
Answer: C
4.Which command will print the exit value of the previous command to the screen in bash?
A.echo $?
B.echo $#
C.echo $exit
D.echo $status
E.echo $&
Answer: A
5.What word will complete an if statement in bash such as the following:
if [ -x "$file" ]; then echo $file
_____
(Please provide the missing word only)
ANSWER: FI
6.Which of the following words is used to restrict the records that are returned from a SELECT query
based on a supplied criteria for the values in the records?
A.LIMIT
B.FROM
C.WHERE
D.IF
Answer: C
7.In the following command and its output,
echo $$ 12942
what is 12942?
A.the process ID of the echo command
B.the process ID of the current shell
C.the process ID of the last command executed
D.the process ID of the last backgrounded command
Answer: B
8.By default, which directories contents will be copied to a new user's home directory when the account is
created, passing the -m option to the useradd command?
ANSWER: /ETC/SKEL,/ETC/SKEL/
9.What output will the following command seq 10 produce?
A.A continuous stream of numbers increasing in increments of 10 until stopped.
B.The numbers 1 through 10 with one number per line.
C.The numbers 0 though 9 with one number per line.
D.The number 10 to standard output.
Answer: B
各種のLinuxバージョンは配置と習慣にとって大きい異なることがあります。LPI Level 1 101試験はいろんなバージョンの特徴を含めるには受験生に試験の難度を加えます。たとえば、rpmとdpkgを同時に受ける受験生はRedhatとDebian二つのバージョンに熟練使用することを要求されています。しかし、多くの試験要求はLSBをもとにして制定られて、いろんな衝突がある細部の問題がLSB( http://www.linuxbase.org/ ) を参考することができます、LPI認証に参加してあなたがLSBに理解することに役に立ちます、
LPIC Level1認証 を取って、いい仕事を見つかるには力になります
117-102 の問題集みんなと分かち合います
1.What word is missing from the following SQL statement?
update tablename ____ fieldname='value' where id=909;
ANSWER: SET,SET
2.Which of the following configuration files should be modified to set default shell variables for all users?
A./etc/bashrc
B./etc/profile
C.~default/.bash_profile
D./etc/skel/.bashrc
E./etc/skel/.bash_profile
Answer: B
3.To test a shell script called myscript, the environment variable FOOBAR must be removed temporarily.
How can this be done?
A.unset -v FOOBAR
B.set -a FOOBAR=""
C.env -u FOOBAR myscript
D.env -i FOOBAR myscript
Answer: C
4.Which command will print the exit value of the previous command to the screen in bash?
A.echo $?
B.echo $#
C.echo $exit
D.echo $status
E.echo $&
Answer: A
5.What word will complete an if statement in bash such as the following:
if [ -x "$file" ]; then echo $file
_____
(Please provide the missing word only)
ANSWER: FI
6.Which of the following words is used to restrict the records that are returned from a SELECT query
based on a supplied criteria for the values in the records?
A.LIMIT
B.FROM
C.WHERE
D.IF
Answer: C
7.In the following command and its output,
echo $$ 12942
what is 12942?
A.the process ID of the echo command
B.the process ID of the current shell
C.the process ID of the last command executed
D.the process ID of the last backgrounded command
Answer: B
8.By default, which directories contents will be copied to a new user's home directory when the account is
created, passing the -m option to the useradd command?
ANSWER: /ETC/SKEL,/ETC/SKEL/
9.What output will the following command seq 10 produce?
A.A continuous stream of numbers increasing in increments of 10 until stopped.
B.The numbers 1 through 10 with one number per line.
C.The numbers 0 though 9 with one number per line.
D.The number 10 to standard output.
Answer: B