Pass4Test의 Lpi 117-101 (Lpi Level 1 Exam 101(with rpm)) 시험대비 덤프는 가격이 착한데 비하면 품질이 너무 좋은 시험전 공부자료입니다. 시험문제적중율이 높아 패스율이 100%에 이르고 있습니다.다른 IT자격증에 관심이 있는 분들은 온라인서비스에 문의하여 덤프유무와 적중율등을 확인할수 있습니다. Lpi 117-101 (Lpi Level 1 Exam 101(with rpm)) 덤프로 어려운 시험을 정복하여 IT업계 정상에 오릅시다.
NO.1 Which of the following sed commands will replace all instances of the string foo with the string foobar
changing the file file1.txt in place.?
A. sed 's/foo/foobar/g' file1.txt
B. sed 's/foo/foobar/g' file1.txt > file1.txt
C. sed 's/foo/foobar/g' file1.txt | file1.txt
D. sed -i 's/foo/foobar/g' file1.txt
E. sed -i 's/foo/foobar/g' file1.txt > file1.txt
Answer: D
NO.2 In order to use the output of ls to overwrite a file called bazz, which of the following command lines
would you use?
A. ls > bazz
B. ls >& bazz
C. ls &> bazz
D. ls >> bazz
Answer: A
NO.3 Which signal is sent by the kill command by default?
A. HUP(1)
B. QUIT(3)
C. KILL(9)
D. TERM(15)
Answer: D
NO.4 The priority of any process can range from -20 to ________. (Provide only the numerical value) Answer:
A. 19,+19
Answer: A
NO.5 Which of the following commands will send output from the program myapp to both standard output
(stdout) and the file file1.log?
A. cat < myapp | cat > file1.log
B. myapp 0>&1 | cat > file1.log
C. myapp | cat > file1.log
D. myapp | tee file1.log
E. tee myapp file1.log
Answer: D
NO.6 Which command will show you the contents of a gzip compressed tar archive?
A. gzip archive.tgz | tar xvf -
B. tar ztf archive.tgz
C. gzip -d archive.tgz | tar tvf -
D. tar cf archive.tgz
Answer: B
NO.7 Once a shell variable has been created, how can the variable be removed from the environment?
A. VAR=
B. set -d VAR
C. set -u VAR
D. unset VAR
Answer: D
NO.8 When in Normal mode in vi, which command character can be used to begin a reverse search of the
text?
A. ?
B. /
C. F
D. r
Answer: A
NO.9 Which directory contains additional information about installed packages?
A. /usr/share/documentation
B. /usr/local/share/documentation
C. /usr/local/doc
D. /usr/share/doc
E. /usr/packages/doc
Answer: D
NO.10 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:
A. DD,/BIN/DD
Answer: A
NO.11 To change the priority of a running process, you use the ____ command. (Specify command only
with no options.) Answer:
A. RENICE,/USR/BIN/RENICE
Answer: A
NO.12 Which of the following commands will NOT execute the bash script /usr/local/bin/runme.sh?
A. source /usr/local/bin/runme.sh
B.. /usr/local/bin/runme.sh
C. /bin/bash /usr/local/bin/runme.sh
D. /usr/local/bin/runme.sh
E. run /usr/local/bin/runme.sh
Answer: E
NO.13 What is the purpose of the Bash built-in export command?
A. To allow disks to be mounted remotely.
B. To automate the export of variables for subsequently executed commands.
C. To make the command history available to sub-shells.
D. To run a command as a process in a sub-shell.
E. To save variable settings for future shell invocations.
Answer: B
NO.14 To ensure that a running process continues to execute after you log out, the process should be started
with what command?
A. live
B. nohup
C. saferun
D. sh
Answer: B
NO.15 In bash, inserting 2>&1 after a command redirects
A. standard error to standard input.
B. standard input to standard error.
C. standard output to standard error.
D. standard error to standard output.
E. standard output to standard input.
Answer: D
NO.16 When in Normal mode in vi, which command character will insert a blank line below the current cursor
position and place the insert cursor at the beginning of the new line?
A. a
B. i
C. n
D. o
Answer: D
NO.17 Which of the following commands will NOT update the Modify timestamp on the file /tmp/myfile.txt?
A. file /tmp/myfile.txt
B. echo "Hello" >/tmp/myfile.txt
C. sed -ie "s/1/2/" /tmp/myfile.txt
D. echo -n "Hello" >>/tmp/myfile.txt
E. touch /tmp/myfile.txt
Answer: A
NO.18 Which of the following is a limitation of the cut command?
A. The cut command can only select output by field position.
B. The cut command cannot reorder fields.
C. The cut command only works on ASCII text.
D. The cut command will always print one line of output for every line of input.
Answer: B
NO.19 What command line redirection characters instruct the shell to read from the current input source until a
specific word, on a separate line and without any trailing spaces, is reached?
A. <<
B. <|
C. !<
D. &<
Answer: A
NO.20 Which command will convert all tab characters in a file to spaces and print that to standard out?
A. convert
B. expand
C. retab
D. untab
Answer: B