Refresh 101-400: Pass4sure real forum from 51 to 60

Exam Code: 101-400 (Practice Exam Latest Test Questions VCE PDF)
Exam Name: LPI Level 1 Exam 101, Junior Level Linux Certification, Part 1 of 2
Certification Provider: LPI
Free Today! Guaranteed Training- Pass 101-400 Exam.


The article at Testaimer.com going over http://www.testaimer.com/101-400-test is very comprehensive.

Q51. - (Topic 3) 

A user accidentally created the subdirectory dir in his home directory. Which of the following commands will remove that directory? 

A. rmdir '~/dir' 

B. rmdir "~/dir" 

C. rmdir ~/'dir' 

D. rmdir ~/dir 

E. rmdir ~/\dir 

Answer:


Q52. - (Topic 1) 

What is the first program that is usually started, at boot time, by the Linux kernel when using SysV init? 

A. /lib/init.so 

B. /sbin/init 

C. /etc/rc.d/rcinit 

D. /proc/sys/kernel/init 

E. /boot/init 

Answer:


Q53. - (Topic 1) 

Which of the following are init systems used within Linux systems? (Choose THREE correct answers.) 

A. startd 

B. systemd 

C. Upstart 

D. SysInit 

E. SysV init 

Answer: B,C,E 


Q54. - (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 


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


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


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


Q58. CORRECT TEXT - (Topic 3) 

Which Bash environment variable defines in which file the user history is stored when exiting a Bash process? (Specify ONLY the variable name.) 

Answer: HISTFILE 


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


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