In the command foo < bar | foobar, which ONE of the following statements is correct?
A. the stdout from the command foo is saved to the file foobar.
B. the command foobar receives its stdin from the stdout of foo.
C. the command foobar receives its stdin from the stderr of foo.
D. the command bar receives its stdinfrom the contents of the file foobar.
E. the stdout from the command foobar issaved to the file foo.
正解:B
質問 2:
You enter the command date +%M. Wat does the output show you?
A. the current hour
B. the current minute
C. the current year
D. the current month
E. the current second
正解:B
解説: (Pass4Test メンバーにのみ表示されます)
質問 3:
Which signal is sent by the kill command by default?
A. KILL(9)
B. TERM(15)
C. HUP(1)
D. QUIT(3)
正解:B
質問 4:
CORRECT TEXT What umask value will result in the default access permissions of 600 (rw-------) for files and
(rwx ------) for directories? (Provide only the numerical umask value)
正解:
077
0077
質問 5:
Which command will allow an administrator to adjust the number of mounts after which an existing filesystem will be checked by e2fsck?
A. mke2fs
B. dumpe2fs
C. debugfs
D. mode2fs
E. tune2fs
正解:E
質問 6:
When you are looking for brief information about a program in your PATH with its associated man pages, you would use ...
A. which
B. locate
C. whereis
D. where
正解:C
解説: (Pass4Test メンバーにのみ表示されます)
質問 7:
What does the following command do? cat '$TEST'
A. Displays the contents of the named by the environment variable TEST.
B. Displays the contents of the file named inside the back quotes.
C. Waitsfor the user to enter text and then echos the text back.
D. Displays the contents of the file named $TEST if it exists.
E. Displays a bash syntax error message.
正解:D
質問 8:
CORRECT TEXT
Which command displays the contents of the Kernel Ring Buffer on the command line? (Provide only the command name without any options or path information) Answer:
正解:
dmesg
/bin/dmesg
質問 9:
The command echo $! will produce what output?
A. the exit status of the last command
B. the process id of last background command
C. the name of the command being executed
D. the process id of the current shell
E. the exit status of the last background command
正解:B
Takahashi -
わかりやすかったですし、内容も全面的で、一発で試験に合格いたしました。
出題確率の高いテーマをコンパクトにまとめありがとうございます。