It is impossible to pass LPI 101-400 exam without any help in the short term. Come to Examcollection soon and find the most advanced, correct and guaranteed LPI 101-400 practice questions. You will get a surprising result by our Regenerate LPI Level 1 Exam 101, Junior Level Linux Certification, Part 1 of 2 practice guides.
2021 Sep 101-400 book
Q41. - (Topic 3)
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
Q42. - (Topic 3)
Which of the following commands replaces each occurrence of 'bob' in the file letter with 'Bob' and writes the result to the file newletter?
A. sed '/bob/Bob' letter > newletter
B. sed s/bob/Bob/ letter < newletter
C. sed 's/bob/Bob' letter > newletter
D. sed 's/bob/Bob/g' letter > newletter
E. sed 's/bob, Bob/' letter > newletter
Answer: D
Q43. - (Topic 3)
Which of the following commands moves and resumes in the background the last stopped shell job?
A. run
B. bg
C. fg
D. back
Answer: B
Q44. - (Topic 3)
Which of the following commands determines the type of a file by using a definition database file which contains information about all common file types?
A. magic
B. type
C. file
D. pmagic
E. hash
Answer: C
Q45. CORRECT TEXT - (Topic 3)
Which signal is missing from the following command that is commonly used to instruct a daemon to reinitialize itself, including reading configuration files?
killall -s _______ daemon
Answer: HUP, SIGHUP, 1
Down to date 101-400 exam question:
Q46. - (Topic 2)
Which of the following commands lists the dependencies of a given dpkg package?
A. apt-cache depends-on package
B. apt-cache dependencies package
C. apt-cache depends package
D. apt-cache requires package
Answer: C
Q47. - (Topic 3)
What does the ? symbol within regular expressions represent?
A. Match the preceding qualifier one or more times.
B. Match the preceding qualifier zero or more times.
C. Match the preceding qualifier zero or one times.
D. Match a literal ? character.
Answer: C
Q48. - (Topic 1)
Which of the following commands will write a message to the terminals of all logged in users?
A. bcast
B. mesg
C. print
D. wall
E. yell
Answer: D
Q49. - (Topic 1)
Which run levels should never be declared as the default run level when using SysV init? (Choose TWO correct answers.)
A. 0
B. 1
C. 3
D. 5
E. 6
Answer: A,E
Q50. CORRECT TEXT - (Topic 2)
Which command will disable swapping on a device? (Specify ONLY the command without any path or parameters.)
Answer: swapoff, /sbin/swapoff