100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
102-500 Dumps - Way To Success In Real LPI 102-500 Exam £0.00

Exam (elaborations)

102-500 Dumps - Way To Success In Real LPI 102-500 Exam

 10 views  0 purchase

QuizDumps provides the best LPI 102-500 dumps with 100% real 102-500 exam questions for the preparation of the 102-500 exam. These 102-500 exam dumps are helpful to pass the LPIC-1 System Administrator Exam 102, Part 2 of 2, version 5.0 Exam in the very first attempt. Download free 102-500 pdf demo...

[Show more]

Preview 6 out of 7  pages

  • June 11, 2021
  • 7
  • 2020/2021
  • Exam (elaborations)
  • Questions & answers
All documents for this subject (1)
avatar-seller
carolchapman
LPI
102-500 Exam
LPIC-1 System Administrator Exam 102, Part 2 of 2,
version 5.0 Exam

QUESTIONS & ANSWERS
(Demo Version)

Thank You For Downloading 102-500 Exam PDF Demo
QuizDumps helps you to prepare LPI Certified Linux Administrator exam. Get most Up-
to-Date LPI 102-500 exam Questions and Answers and pass the 102-500 exam in the
first attempt.


Get Full 102-500 Exam PDF Here
https://quizdumps.com/exam/102-500-dumps/

, LPI
102-500 Exam
LPIC-1 System Administrator Exam 102, Part 2 of 2, version 5.0
Exam
Questions & Answers
Demo

,Questions & Answers PDF Page 2




Version: 8.0

Question: 1

What output will the following command sequence produce?
echo '1 2 3 4 5 6' | while read a b c; do
echo result: $c $b $a;
done

A. result: 3 4 5 6 2 1
B. result: 1 2 3 4 5 6
C. result: 6 5 4
D. result: 6 5 4 3 2 1
E. result: 3 2 1

Answer: A


Question: 2

When the command echo $ outputs 1, which of the following statements is true?

A. It is the process ID of the echo command.
B. It is the process ID of the current shell.
C. It is the exit value of the command executed immediately before echo.
D. It is the exit value of the echo command.

Answer: C


Question: 3

Which command makes the shell variable named VARIABLE visible to subshells?

A. export $VARIABLE
B. export VARIABLE
C. set $VARIABLE
D. set VARIABLE
E. env VARIABLE

,Questions & Answers PDF Page 3


Answer: B


Question: 4

What output will the command seq 10 produce?

A. A continuous stream of numbers increasing in increments of 10 until stopped.
B. The numbers 1 through 10 with one number per line.
C. The numbers 0 through 9 with one number per line.
D. The number 10 to standard output.

Answer: B


Question: 5

After issuing:
function myfunction { echo $1 $2 ; }
in Bash, which output does:
myfunction A B C
Produce?

A. A B
B. A B C
C. A C
D. B C
E. C B A

Answer: A


Question: 6

Which of the following commands puts the output of the command date into the shell variable mydate?

A. mydate="$(date)"
B. mydate="exec date"
C. mydate="$((date))"
D. mydate="date"
E. mydate="${date}"

Answer: A

,Questions & Answers PDF Page 4




Question: 7

Which of the following files, when existing, affect the behavior of the Bash shell? (Choose TWO correct
answers.)

A. ~/.bashconf
B. ~/.bashrc
C. ~/.bashdefaults
D. ~/.bash_etc
E. ~/.bash_profile

Answer: B, E


Question: 8

What is the difference between the commands test -e path and test -f path?

A. They are equivalent options with the same behaviour.
B. The -f option tests for a regular file. The -e option tests for an empty file.
C. Both options check the existence of the path. The -f option also confirms that it is a regular file.
D. The -f option tests for a regular file. The -e option tests for an executable file.

Answer: C


Question: 12

How can the existing environment variable FOOBAR be suppressed for the execution of the
script./myscript only?

A. unset -v FOOBAR;./myscript
B. set -a FOOBAR="";./myscript
C. env -u FOOBAR./myscript
D. env -i FOOBAR./myscript

Answer: C


Question: 9

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

, Questions & Answers PDF Page 5


A. It is the process ID of the echo command.
B. It is the process ID of the current shell.
C. It is the process ID of the last command executed.
D. It is the process ID of the last command which has been placed in the background.

Answer: B


Question: 10

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

A. 1
6
1
1
1
6
B. 1
5
10
15
C. 1
2
3
4
D. 2
3
4
5
E. 5
10
15
20

Answer: A

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller carolchapman. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for £0.00. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

83637 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy revision notes and other study material for 14 years now

Start selling
Free
  • (0)