各種の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
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