TestKing LPI 117-101 Exam Questions & Answers
117-101 General Linux, Part 1 Exam number/code: 117-101 Exam name: General Linux, Part 1 Questions & Answers: 643 Q&A Related Certifications: LPIC Level 1
Hundreds of people each day their IT certification exams with Testking guaranteed certification resources and training kits. Use the LPI 117-101 questions and answers to practice for your next LPI certification exam. If you don't – you don't pay! Testking has the first and only 100% product satisfaction and exam ing guarantee. Advanced practice questions and answers help drive the information into your routine thinking and sur 117-101 brain dumps in retention and skill building. LPI 117-101 exam answers and practice questions can be used at home or office, installable on up to two PCs, or print the questions and answers to take with you and train on-the-go! LPI 117-101 preparation tools are the perfect fit for any LPI certification candidate with 117101 training materials for every level of entry. Exam Engine Features Control your IT training process by customizing your practice certification questions and answers. The fastest and best way to train. * * * * * *
Truly interactive practice tests Create and take notes on any question Retake tests until you're satisfied YOU select the areas of the exam to cover Filter questions for a new practice test experience each time Re-visit difficult questions
TestKing LPI 117-101 Exam Questions & Answers
Exam: 117-101 Certification Questions & Answers
Question 1: Which of the following will copy file1.txt to file2.txt? Choose Two. A. cat file1.txt > file2.txt B. cat file1.txt | file2.txt C. file1.txt > file2.txt D. file1.txt file2.txt E. io < file1.txt > file2.txt Answer: A,D Explanation: We can redirect the standard output into the file using the redirect (>) symbol. Example: ls -l >result : Redirects the standard output of ls -l command into the result file. Similarly cat redirect the contents of one file into another. cat file1 >file2 : cat reads the contents of file1 and creates the new file file2, which contains the text of file1. (copy) command also copy the file. Similarly you can append into the existing file using append (>>) symbol.
Question 2: Your system boots into a typical runlevel 3, so s generally use startx to get a graphical shell. What file can s modify in their home directory to determine the window manager started by startx? A. .xinitrc B. .Xclients C. .wmrc D. .desktop Answer: B
Question 3: You want to the command foo to take its input from the file foobar and send its output to the file bar. Which of the following command lines will do this? A. foo < foobar | bar B. foo < foobar > bar C. foo | foobar > bar D. foo | bar < foobar E. foo > bar < foobar Answer: B Explanation: The question states that the output should be send to the file (not program) bar. Command> file Redirect the standard Output to file. Command>>file Append the standard output to file. Command
file Redirect the standard error to file. Command 2>>file Append the Standard Error to file.
TestKing LPI 117-101 Exam Questions & Answers In 'foo < foobar > bar' foo taking the input from foobar using < symbol and redirecting the output to >bar file. Subsection 1, Miscellaneous Commands (26 Questions)
Question 4: What is the name of the X configuration tool that runs in graphical text mode? Answer: Xconfigurator
Question 5: Which of the following commands can be used to instruct the init process to switch runlevels? (Choose TWO correct answers) A. initctl B. runlevel C. init D. reinit E. telinit Answer: C,E
Question 6: Type only the name of the file or utility that will show you the last system bootup messages. Answer: dmesg
Question 7: Which command will print to standard out only the lines that do not begin with # (pound symbol) in the file foobar? A. /bin/grep ^# foobar B. /bin/grep -v ^# foobar C. /bin/grep #$ foobar D. /bin/grep -v #$ foobar Answer: B Explanation: grep stands for general regular processor, used to prints all lines where pattern matched. Achor symbol used by String Processor tools like sed, awk and grep ^ à Line begins with $ à Line ends with \<word begins with \>word end with -v option in grep is non matching.
Question 8:
TestKing LPI 117-101 Exam Questions & Answers You have not run aptget on a system for some time, but it has been run on the system before. What aptget command would you run to the latest list of packages, but not the packages themselves? A. aptget distupgrade B. aptget mirrorselect C. aptget upgrade D. aptget update E. aptget builddep Answer: D
Question 9: Select the default $PATH set by the init command A. /bin:/sbin:/usr/local/bin:/etc:/usr/etc B. /usr/local/bin:/usr/local/sbin:/opt/bin:/bin:/sbin C. /usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin D. /bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin Answer: C Explanation: To display the default set path use echo $PATH command.
Question 10: Type in just the name of the command that allows you to edit the command history, and will execute the contents of the buffer when exited. Answer: fc
Question 11: You are having some trouble with a disk partition and you need to do maintenance on this partition but your s home directories are on it and several are logged in. Which command would disconnect the s and allow you to safely execute maintenance tasks? A. telinit 1 B. /etc/rc.d/init.d/network stop C. shutdown r now D. /bin/netstop maint E. killall 9 inetd Answer: A
Question 12: On a standard Linux system as a normal , what umask value will cause your file to be created with the following permissions ? drwxr-x--- 2 name group 512 Mar 6 11:16 dir1 -rw-r----- 1 name group 0 Mar 6 11:16 file1 Answer: 027
TestKing LPI 117-101 Exam Questions & Answers Answer: 0027
Question 13: In which file are you likely to find the global setting for the umask and ulimit? A. /etc/profile B. /etc/bashrc C. /etc/bash_profile D. ~/.bashrc E. ~/.bash_profile Answer: B Explanation: Default umask is specified in /etc/bashrc file for root and non-root . For root 022 is the default umask and 002 is for the non-root . Note: Th is answer is highly dependant on the distribution used. Depending on whether you are suing Red Hat, Debain, or another distribution, these may actually be set in /etc/profile or etc/bashrc.
Question 14: Which of the following commands will NOT update the Modify timestamp on the file /tmp/myfile.txt? A. file /tmp/myfile.txt B. sed ie "s/1/2/" /tmp/myfile.txt C. touch /tmp/myfile.txt D. echo n "Hello" >/tmp/myfile.txt E. echo "Hello" >/tmp/myfile.txt Answer: A
Question 15: The message "Hard Disk Error" is displayed on the screen during Stage 1 of the GRUB boot process. What does this indicate? A. The kernel was unable to execute /bin/init B. One or more of thefilesystems on the hard disk has errors and a filesystem check should be run C. The next Stage cannot be read from the hard disk because GRUB was unable to determine the size and geometry of the disk D. The BIOS was unable to read the necessary data from the Master Boot Record to begin the boot process Answer: C
Related 117-101 Exams: 117-102
TestKing LPI 117-101 Exam Questions & Answers
Popular Certification Exams: E20-361 NS0-111 LOT-803
642-736 HP0-264 HP0-757
E20-360 HP0-P19 117-101
1z0-223 190-829 A00-206
000-R15 000-M196 920-215
VCS
Solaris 10 SCSA Fujitsu
Exin
EMC
Hot Certifications: Siemens CCNP Enterprise Communication s Certification
Popular Certification Providers: LPI
HDI
SolarWinds