[Free] 2018(Jan) EnsurePass Testinsides LPI 101-400 Dumps with VCE and PDF 41-50

Ensurepass.com : Ensure you pass the IT Exams
2018 Jan LPI Official New Released 101-400
100% Free Download! 100% Pass Guaranteed!
http://www.EnsurePass.com/101-400.html

LPI Level 1 Exam 101, Junior Level Linux Certification, Part 1 of 2

Question No: 41 – (Topic 3)

What is the difference between the i and a commands of the vi editor?

  1. i (interactive) requires the user to explicitly switch between vi modes whereas a (automatic) switches modesautomatically.

  2. i (insert) inserts text before the current cursor position whereas a (append) inserts text after the cursor.

  3. i (independent rows) starts every new line at the first character whereas a (aligned rows) keeps the indentation of the previous line.

  4. i (interrupt) temporarily suspends editing of a file to the background whereas a (abort) terminates editing.

Answer: B

Question No: 42 – (Topic 3)

From a Bash shell, which of the following commands directly executes the instruction from the file /usr/local/bin/runme.sh without starting a subshell? (Please select TWO answers.)

  1. source /usr/local/bin/runme.sh

  2. . /usr/local/bin/runme.sh

  3. /bin/bash /usr/local/bin/runme.sh

  4. /usr/local/bin/runme.sh

  5. run /usr/local/bin/runme.sh

Answer: A,B

Question No: 43 – (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?

  1. 9

  2. 19

  3. 49

  4. 99

Answer: B

Question No: 44 – (Topic 3)

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

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

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

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

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

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

Answer: B

Question No: 45 – (Topic 3)

Which of the following commands replaces each occurrence of #39;bob#39; in the file letter with #39;Bob#39; and writes the result to the file newletter?

  1. sed #39;/bob/Bob#39; letter gt; newletter

  2. sed s/bob/Bob/ letter lt; newletter

  3. sed#39;s/bob/Bob#39; letter gt; newletter

  4. sed #39;s/bob/Bob/g#39; letter gt; newletter

  5. sed #39;s/bob, Bob/#39; letter gt; newletter

Answer: D

Question No: 46 – (Topic 3)

Which of the following commands prints a list of usernames (first column) and their primary group (fourth column) from the /etc/passwd file?

  1. fmt -f 1,4 /etc/passwd

  2. split -c 1,4 /etc/passwd

  3. cut -d : -f 1,4 /etc/passwd

  4. paste -f 1,4 /etc/passwd

Answer: C

Question No: 47 – (Topic 3)

Which of the following commands will print the last 10 lines of a text file to the standard output?

  1. cat -n 10 filename

  2. dump -n 10 filename

  3. head -n 10 filename

  4. tail -n 10 filename

Answer: D

Question No: 48 – (Topic 3)

Which of the following commands is used to change options and positional parameters for a running Bash?

  1. history

  2. set

  3. bashconf

  4. setsh

  5. envsetup

Answer: B

Question No: 49 – (Topic 3)

Which of the following files, located in the user home directory, is used to store the Bash history?

  1. .bash_history

  2. .bash_histfile

  3. .history

  4. .bashrc_history

  5. .history_bash

Answer: A Explanation:

QUESTIONNO: 26

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

Question No: 50 – (Topic 3)

What is the purpose of the Bash built-in export command?

  1. It allows disks to be mounted remotely.

  2. It runs a command as a process in a subshell.

  3. It makes the command history available to subshells.

  4. It sets up environment variables for applications.

  5. It shares NFS partitions for use by other systems on the network.

Answer: D

100% Ensurepass Free Download!
Download Free Demo:101-400 Demo PDF
100% Ensurepass Free Guaranteed!
101-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
PDF VCE Yes No No
Free VCE Simulator Yes No No
Instant Download Yes No No