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 pass their IT certification exams with Testking guaranteed certification resources and training kits.
Use the LPI 117-101 questions 117-101 questions and answers to practice for your next LPI certification exam. If you don't pass – you don't pay! Testking has the first and only 100% product product satisfaction and exam passing guarantee. guarantee. Advanced practice questions questions and answers answers help drive the information into your routine thinking and surpass 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 LPI 117-101 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 101 training materials for every level of entry. Exam Engine Features Control your IT training process by customizing your practice certification questions 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
Trusted by over 1 million members
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
Trusted by over 1 million members
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
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. cp file1.txt > file2.txt D. cp file1.txt file2.txt E. cpio < 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. cp (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 users generally use startx to get a graphical shell. What file can users 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:
Trusted by over 1 million members
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
TestKing LPI 117-101 117-101 Exam 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 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
Trusted by over 1 million members
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
TestKing LPI 117-101 117-101 Exam 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 download the latest list of packages, but not the packages themselves? t hemselves? 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 /bin:/sbin:/usr/local/bin:/etc:/usr/etc B. /usr/local/bin:/usr/local/sbin:/opt/bi /usr/local/bin:/usr/local/sbin:/opt/bin:/bin:/sbin n:/bin:/sbin C. /usr/local/sbin:/sbin:/bin:/usr/sbin:/u /usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin sr/bin D. /bin:/usr/bin:/usr/local/bin:/sbin:/usr /bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin /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 users home directories are on it and several are logged in. Which command would disconnect the users 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:
Trusted by over 1 million members
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
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 /etc/bash_profile D. ~/.bashrc E. ~/.bash_profile Answer: B Explanation: Default umask is specified in /etc/bashrc file for root user and non-root user. For root user 022 is the default umask and 002 is for the non-root user.
Note: Th is answer is highly dependant dependant on the distribution used. used. Depending on whether 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 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
Trusted by over 1 million members
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.