Your success in LPI 101-400 is our sole target and we develop all our 101-400 braindumps in a way that facilitates the attainment of this target. Not only is our 101-400 study material the best you can find, it is also the most detailed and the most updated. 101-400 Practice Exams for LPI 101-400 are written to the highest standards of technical accuracy.

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) 

What is the maximum niceness value that a regular user can assign to a process with the nice command when executing a new process? 

A. 9 

B. 19 

C. 49 

D. 99 

Answer:


Q33. - (Topic 1) 

Which SysV init configuration file should be modified to disable the ctrl-alt-delete key combination? 

A. /etc/keys 

B. /proc/keys 

C. /etc/inittab 

D. /proc/inittab 

E. /etc/reboot 

Answer:


Q34. - (Topic 2) 

Which of the following commands overwrites the bootloader located on /dev/sda without overwriting the partition table or any data following it? 

A. dd if=/dev/zero of=/dev/sda bs=512 

B. dd if=/dev/zero of=/dev/sda bs=512 count=1 

C. dd if=/dev/zero of=/dev/sda bs=440 count=1 

D. dd if=/dev/zero of=/dev/sda bs=440 

Answer:


Q35. - (Topic 3) 

When starting a program with the nice command without any additional parameters, which nice level is set for the resulting process? 

A. -10 

B. 0 

C. 10 

D. 20 

Answer:


Q36. - (Topic 3) 

In a nested directory structure, which find command line option would be used to restrict the command to searching down a particular number of subdirectories? 

A. -dirmax 

B. -maxdepth 

C. -maxlevels 

D. -n 

E. -s 

Answer:


Q37. - (Topic 4) 

Which of the following is the device file name for the second partition on the only SCSI drive? 

A. /dev/hda1 

B. /dev/sda2 

C. /dev/sd0a2 

D. /dev/sd1p2 

Answer:


Q38. - (Topic 3) 

Which of the following statements is correct regarding the command foo 1> bar? 

A. The stdout from the command foo is appended to the file bar. 

B. The stdout from the command foo overwrites the file bar. 

C. The command foo receives its stdin from the file bar. 

D. The command foo receives its stdin from the stdout of the command bar. 

E. The stderr from the command foo is saved to the file bar. 

Answer:


Q39. - (Topic 1) 

Which of the following information is stored within the BIOS? (Choose TWO correct answers.) 

A. Boot device order 

B. Linux kernel version 

C. Timezone 

D. Hardware configuration 

E. The system's hostname 

Answer: A,D 


Q40. - (Topic 4) 

What is the purpose of the Filesystem Hierarchy Standard? 

A. It is a security model used to ensure files are organized according to their permissions and accessibility. 

B. It provides unified tools to create, maintain and manage multiple filesystems in a common way. 

C. It defines a common internal structure of inodes for all compliant filesystems. 

D. It is a distribution neutral description of locations of files and directories. 

Answer: