[Free] 2018(Jan) EnsurePass Testinsides LPI 102-400 Dumps with VCE and PDF 1-10

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

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

Question No: 1 – (Topic 1)

What output will the following command produce? seq 1 5 20

  1. 1 6





  2. 1 5 10 15

  3. 1 2



  4. 2 3



  5. 5 10 15 20

Answer: A

Question No: 2 – (Topic 1)

When the command echo $$ outputs 12942, what is the meaning of 12942?

  1. It is the process ID of the echo command.

  2. It is the process ID of the current shell.

  3. It is the process ID of the last command executed.

  4. It is the process ID of the last command which has been placed in the background.

Answer: B

Question No: 3 – (Topic 1)

Which of the following are requirements in order to run a shell script like a regular command from anywhere in the filesystem? (Choose THREE correct answers.)

  1. The user issuing the command must be in the group script.

  2. The script file must be found in the $PATH.

  3. The script file must have the executable permission bit set.

  4. The script must begin with a shebang-line (#!) that points to the correct interpreter.

  5. The file system on which the script resides must be mounted with the option scripts.

Answer: B,C,D

Question No: 4 CORRECT TEXT – (Topic 1)

By default, the contents of which directory will be copied to a new user#39;s home directory when the account is created by passing the -m option to the useradd command? (Specify the full path to the directory.)

Answer: /etc/skel

Question No: 5 – (Topic 1)

What output will the command seq 10 produce?

  1. A continuous stream of numbers increasing in increments of 10 until stopped.

  2. The numbers 1 through 10 with one number per line.

  3. The numbers 0 through 9 with one number per line.

  4. The number 10 to standard output.

Answer: B

Question No: 6 CORRECT TEXT – (Topic 1)

What command displays all aliases defined in the current shell? (Specify the command without any path information)

Answer: alias, alias -p

Question No: 7 – (Topic 1)

Which of the following commands lists all defined variables and functions within Bash?

  1. env

  2. set

  3. env -a

  4. echo $ENV

Answer: B

Question No: 8 CORRECT TEXT – (Topic 1)

What word is missing from the following SQL statement? insert into tablename (909, #39;text#39;);

(Please specify the missing word using lower-case letters only.)

Answer: VALUES, values

Question No: 9 – (Topic 1)

After issuing:

function myfunction { echo $1 $2 ; }

in Bash, which output does: myfunction A B C Produce?

  1. A B

  2. A B C

  3. A C

  4. B C

  5. C B A

Answer: A

Question No: 10 – (Topic 1)

Which of the following words is used to restrict the records that are returned from a SELECT SQL query based on a supplied criteria for the values in the records?

  1. CASE

  2. FROM

  3. WHERE

  4. IF

Answer: C

100% Ensurepass Free Download!
Download Free Demo:102-400 Demo PDF
100% Ensurepass Free Guaranteed!
102-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