Printable 101-400 ebook Reviews & Tips

we provide Downloadable LPI 101-400 exam answers which are the best for clearing 101-400 test, and to get certified by LPI LPI Level 1 Exam 101, Junior Level Linux Certification, Part 1 of 2. The 101-400 Questions & Answers covers all the knowledge points of the real 101-400 exam. Crack your LPI 101-400 Exam with latest dumps, guaranteed!


♥♥ 2021 NEW RECOMMEND ♥♥

Free VCE & PDF File for LPI 101-400 Real Exam (Full Version!)

★ Pass on Your First TRY ★ 100% Money Back Guarantee ★ Realistic Practice Exam Questions

Free Instant Download NEW 101-400 Exam Dumps (PDF & VCE):
Available on: http://www.surepassexam.com/101-400-exam-dumps.html

Q31. - (Topic 3) 

When running the command 

sed -e "s/a/b/" /tmp/file >/tmp/file 

While /tmp/file contains data, why is /tmp/file empty afterwards? 

A. The file order is incorrect. The destination file must be mentioned before the command to ensure redirection. 

B. The command sed did not match anything in that file therefore the output is empty. 

C. When the shell establishes the redirection it overwrites the target file before the redirected command starts and opens it for reading. 

D. Redirection for shell commands do not work using the > character. It only works using the | character instead. 

Answer:


Q32. - (Topic 3) 

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:


Q33. - (Topic 2) 

Which of the following commands is used to update the list of available packages when using dpkg based package management? 

A. apt-get update 

B. apt-get upgrade 

C. apt-cache update 

D. apt-get refresh 

E. apt-cache upgrade 

Answer:


Q34. CORRECT TEXT - (Topic 2) 

In which directory must definition files be placed to add additional repositories to yum? 

Answer: /etc/yum.repos.d, /etc/yum.repos.d/, yum.repos.d, yum.repos.d/ 


Q35. 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 


Q36. CORRECT TEXT - (Topic 2) 

Which world-writable directory should be placed on a separate partition in order to prevent users from being able to fill up the / filesystem? (Specify the full path to the directory.) 

Answer: /tmp, tmp, /var/tmp, /tmp/, /var/tmp/ 


Q37. - (Topic 4) 

What do the permissions -rwSr-xr-x mean for a binary file when it is executed as a command? 

A. The command is SetUID and it will be executed with the effective rights of the owner. 

B. The command will be executed with the effective rights of the group instead of the owner. 

C. The execute flag is not set for the owner. Therefore the SetUID flag is ignored. 

D. The command will be executed with the effective rights of the owner and group. 

Answer:


Q38. - (Topic 3) 

Which of the following signals is sent to a process when the key combination CTRL+C is pressed on the keyboard? 

A. SIGTERM 

B. SIGINT 

C. SIGSTOP 

D. SIGKILL 

Answer:


Q39. - (Topic 4) 

Which of the following settings for umask ensures that new files have the default permissions -rw-r----- ? 

A. 0017 

B. 0640 

C. 0038 

D. 0027 

Answer:


Q40. - (Topic 3) 

Which of the following commands can be used to determine how long the system has been running? (Choose TWO correct answers.) 

A. uptime 

B. up 

C. top 

D. uname -u 

E. time –up 

Answer: A,C