Pass4Test에서 출시한 Lpi 117-101 (Lpi Level 1 Exam 101(with rpm)) 덤프는 Lpi 117-101 (Lpi Level 1 Exam 101(with rpm)) 시험에 대비하여 IT전문가들이 제작한 최신버전 공부자료로서 시험패스율이 100%입니다.Pass4Test는 고품질 Lpi 117-101 (Lpi Level 1 Exam 101(with rpm)) 덤프를 가장 친근한 가격으로 미래의 IT전문가들께 제공해드립니다. Pass4Test의 소원대로 멋진 IT전문가도 거듭나세요.
NO.1 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.2 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
NO.3 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.4 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.5 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.6 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.7 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.8 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.9 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.10 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.11 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.12 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.13 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.14 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.15 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.16 The priority of any process can range from -20 to ________. (Provide only the numerical value) Answer:
A. 19,+19
Answer: A
NO.17 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.18 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.19 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.20 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