Proper study guides for Updated LPI LPI Level 1 Exam 101, Junior Level Linux Certification, Part 1 of 2 certified begins with LPI 101-400 preparation products which designed to deliver the High value 101-400 questions by making you pass the 101-400 test at your first time. Try the free 101-400 demo right now.

Q55. CORRECT TEXT - (Topic 3) 

Which command displays a list of all background tasks running in the current shell? (Specify ONLY the command without any path or parameters.) 

Answer: jobs 


Q56. - (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:


Q57. - (Topic 3) 

Which of the following commands can be used to create a USB storage media from a disk image? 

A. gdisk 

B. dd 

C. cc 

D. fdisk 

E. mount 

Answer:


Q58. - (Topic 2) 

Which of the following commands updates the linker cache of shared libraries? 

A. mkcache 

B. soconfig 

C. mkldconfig 

D. lddconfig 

E. ldconfig 

Answer:


Q59. - (Topic 4) 

What does the command mount -a do? 

A. It mounts all available filesystems onto the current directory. 

B. It shows all mounted filesystems. 

C. It mounts all user mountable filesystems for the current user. 

D. It mounts all filesystems listed in /etc/fstab which have the option auto set. 

E. It mounts all filesystems listed in /etc/fstab which have the option noauto set. 

Answer:


Q60. - (Topic 4) 

Which of the following commands will change the quota for a specific user? 

A. edquota 

B. repquota 

C. quota -e 

D. quota 

Answer:


Q61. - (Topic 2) 

When removing a package, which of the following dpkg options will completely remove the files including configuration files? 

A. --clean 

B. --delete 

C. --purge 

D. –remove 

Answer:


Q62. - (Topic 4) 

After running the command umount /mnt, the following error message is displayed: 

umount: /mnt: device is busy. 

What is a common reason for this message? 

A. The kernel has not finished flushing disk writes to the mounted device. 

B. A user has a file open in the /mnt directory. 

C. Another file system still contains a symlink to a file inside /mnt. 

D. The files in /mnt have been scanned and added to the locate database. 

E. The kernel thinks that a process is about to open a file in /mnt for reading. 

Answer:


Q63. - (Topic 4) 

Which of the following commands changes the ownership of file.txt to the user dan and the group staff? 

A. chown dan/staff file.txt 

B. chown dan:staff file.txt 

C. chown -u dan -g staff file.txt 

D. chown dan -g staff file.txt 

Answer:


Q64. - (Topic 4) 

Which of the following commands can be used to display the inode number of a given file? 

A. inode 

B. ls 

C. ln 

D. cp Answer: B 


Q65. - (Topic 2) 

Which of the following commands lists all currently installed packages when using RPM package management? 

A. yum --query --all 

B. yum --list --installed 

C. rpm --query --all 

D. rpm --list –installed 

Answer:


Q66. - (Topic 4) 

Which of the following commands can be used to search for the executable file foo when it has been placed in a directory not included in $PATH? 

A. apropos 

B. which 

C. find 

D. query 

E. whereis 

Answer:


Q67. - (Topic 2) 

Which of the following is correct when talking about mount points? 

A. Every existing directory can be used as a mount point. 

B. Only empty directories can be used as a mount point. 

C. Directories need to have the SetUID flag set to be used as a mount point. 

D. Files within a directory are deleted when the directory is used as a mount point. 

Answer:


Q68. - (Topic 4) 

Creating a hard link to an ordinary file returns an error. What could be the reason for this? 

A. The source file is hidden. 

B. The source file is read-only. 

C. The source file is a shell script. 

D. The source file is already a hard link. 

E. The source and the target are on different filesystems. 

Answer:


Q69. - (Topic 3) 

What command will generate a list of user names from /etc/passwd along with their login shell? 

A. column -s : 1,7 /etc/passwd 

B. chop -c 1,7 /etc/passwd 

C. colrm 1,7 /etc/passwd 

D. cut -d: -f1,7 /etc/passwd 

Answer:


Q70. - (Topic 3) 

What is the output of the following command? 

echo "Hello World" | tr -d aieou 

A. Hello World 

B. eoo 

C. Hll Wrld 

D. eoo Hll Wrld 

Answer:


Q71. - (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:


Q72. - (Topic 3) 

What happens after issuing the command vi without any additional parameters? 

A. vi starts and loads the last file used and moves the cursor to the position where vi was when it last exited. 

B. vi starts and requires the user to explicitly either create a new or load an existing file. 

C. vi exits with an error message as it cannot be invoked without a file name to operate on. 

D. vi starts in command mode and opens a new empty file. 

E. vi starts and opens a new file which is filled with the content of the vi buffer if the buffer contains text. 

Answer: