[Free] 2018(Jan) EnsurePass Testinsides LPI 201-400 Dumps with VCE and PDF 221-230

By | February 12, 2018

Ensurepass.com : Ensure you pass the IT Exams
2018 Jan LPI Official New Released 201-400
100% Free Download! 100% Pass Guaranteed!

LPIC-2 Exam 201

Question No: 221 CORRECT TEXT – (Topic 8)

A variable that you can name and assign a value to is called a variable.

Answer: user

Explanation: A user variable can be created and named and have a value assigned to it from the command line or from a script.

Question No: 222 – (Topic 8)

You are running out of space in your home directory. While looking for files to delete or compress you find a large file called .bash_history and delete it. A few days later, it is back and as large as before. What do you need to do to ensure that its size is smaller?

  1. Set the HISTFILESIZE variable to a smaller number.

  2. Set the HISTSIZE to a smaller number.

  3. Set the NOHISTFILE variable to true.

  4. Set the HISTAPPEND variable to true.

Answer: A

Explanation: The bash_history file is a file in a user#39;s home directory that contains a list of the (recent)commands issued by this user at the bash command line. This file can grow to up to the number of lines specified in the HISTFILESIZE variable; therefore, to reduce the maximum size of the file, you should set the HISTFILESIZE variable to a smaller number.

Reference: http://www.slug-vt.org/bash.html

Incorrect Answers

B:The HISTSIZE variable contains the number of commands in the history. When a user logs off, the commands are written to the bash_history file.

C:There is no NOHISTFILE variable.

D:If the HISTAPPEND variable is set to true, the history will be appended to the history file (bash_history), otherwise the file will be overwritten. Therefore, setting the HISTAPPEND variable to false, not true would work.

Question No: 223 CORRECT TEXT – (Topic 8)

What utility can you use to show a dynamic listing of running processes?

Answer: top

Explanation: The ‘top’ command is used to provide information (frequently refreshed) about the most CPU-intensive processes currently running. The ‘ps’ command lists all running processes; however, this information isn’t dynamically refreshed.

Question No: 224 – (Topic 8)

You want to check what shares are offered by a Windows system. Which of the following commands could you use to perform this task?

  1. mmblookup

  2. showshares

  3. smbclient

  4. smbstatus

  5. listshares

Answer: C

Explanation: The smbclient command with the -L can be used to display the shares on a Windows system. The syntax is smbclient -L //lt;servernamegt;.

Reference: http://www.winnetmag.com/Articles/Index.cfm?ArticleID=8897

Incorrect Answers

A:Mmblookup is the incorrect command to display shares on a Windows system. B:Showshares is the incorrect command to display shares on a Windows system. D:Smbstatus is the incorrect command to display shares on a Windows system. E:Listshares is the incorrect command to display shares on a Windows system.

Topic 9, Exam Set Mix Questions B

Question No: 225 – (Topic 9)

Which of the following is needed, to synchronize the Unix password with the SMB password, when the encrypted SMB password in the smbpasswd file is changed?

  1. Nothing, because this is not possible.

  2. Run netvamp regularly, to convert the passwords.

  3. Rin winbind -sync, to synchronize the passwords.

  4. Add unix password sync = yes to smb.conf.

  5. Add smb unix password = sync to smb.conf.

Answer: D

Explanation: http://www.linuxhilfen.org/netz/smb.conf

Question No: 226 CORRECT TEXT – (Topic 9)

Which file contains the software RAID configuration? (Please enter the file-name without the pat)

Answer: raidtab

Question No: 227 – (Topic 9)

A Linux server is running in single user mode, but the problem that existed before is now fixed. What command is most appropriate to restore the server to service?

  1. reboot

  2. telinit 2

  3. shutdown -r now

  4. telinit 3

  5. shutdown -h now

Answer: D Explanation: man telinit

Question No: 228 – (Topic 9)

What command can be used to check the Samba configuration file?

  1. testconfig

  2. testsmbconfig

  3. smbtestcfg

  4. smbtestparm

  5. testparm

Answer: E

Question No: 229 CORRECT TEXT – (Topic 9)

Because of a bad BIOS LBA translation, a booting system displays an error instead of a LILO prompt. Complete the error message with the error number:


Answer: 1

Answer: 01

Question No: 230 – (Topic 9)

Which of the following commands should be used in a bash script that needs a variable containing the IP address of the eth0 interface? The output from the command ifconfig eth0 is shown below:

  1. IP=LANG= ifconfig eth0 | awk “{print $2}” | cut -f2

  2. IP=$(LANG= ifconfig eth0 | grep inet | cut -d: -f2)

  3. IP=’LANG= ifconfig eth0 | awk “{print $3}”‘

  4. IP=’LANG= ifconfig eth0 | grep inet | cut -d: -f2 | awk {print $1}’

  5. IP=$ (LANG= ifconfig eth0 | grep inet | awk “{print $2}” | cut -d: -f2)

Answer: E

100% Ensurepass Free Download!
Download Free Demo:201-400 Demo PDF
100% Ensurepass Free Guaranteed!
201-400 Dumps

EnsurePass ExamCollection Testking
Lowest Price Guarantee Yes No No
Up-to-Dated Yes No No
Real Questions Yes No No
Explanation Yes No No
Free VCE Simulator Yes No No
Instant Download Yes No No

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.