ExamGecko
Home / LPI / 010-160 / List of questions
Ask Question

LPI 010-160 Practice Test - Questions Answers, Page 4

List of questions

Question 31

Report Export Collapse

Which of the following are typical services offered by public cloud providers? (Choose three.)

Platform as a Service(PaaS)
Platform as a Service(PaaS)
Infrastructure as a Service(IaaS)
Infrastructure as a Service(IaaS)
Internet as a Service(IaaS)
Internet as a Service(IaaS)
Graphics as a Service (GaaS)
Graphics as a Service (GaaS)
Software as a Service (SaaS)
Software as a Service (SaaS)
Suggested answer: A, B, E
asked 18/09/2024
Antonio Pombo
39 questions

Question 32

Report Export Collapse

Which of the following characters in a shell prompt indicates the shell is running with root privileges?

!
!
#
#
*
*
&
&
$
$
Suggested answer: B
asked 18/09/2024
Simon Tam
39 questions

Question 33

Report Export Collapse

Which of the following commands are used to get information on the proper use of ls? (Choose two.)

option ls
option ls
usage ls
usage ls
manual ls
manual ls
man ls
man ls
info ls
info ls
Suggested answer: D, E
asked 18/09/2024
Michael Craig
48 questions

Question 34

Report Export Collapse

What is true about a recursive directory listing?

It includes the content of sub-directories.
It includes the content of sub-directories.
It includes the permissions of the directory listed.
It includes the permissions of the directory listed.
It includes details of file system internals, such as inodes.
It includes details of file system internals, such as inodes.
It includes ownership information for the files.
It includes ownership information for the files.
It includes a preview of content for each file in the directory.
It includes a preview of content for each file in the directory.
Suggested answer: A
asked 18/09/2024
Sandesh Somaiah
45 questions

Question 35

Report Export Collapse

Running the command rm Downloads leads to the following error: rm: cannot remove 'Downloads/': Is a directory

Which of the following commands can be used instead to remove Downloads, assuming Downloads is empty? (Choose two.)

undir Downloads
undir Downloads
rmdir Downloads
rmdir Downloads
dir -r Downloads
dir -r Downloads
rem Downloads
rem Downloads
rm -r Downloads
rm -r Downloads
Suggested answer: B, E
asked 18/09/2024
Anass Chadid ansari
45 questions

Question 36

Report Export Collapse

Which of the following directories contains information, documentation and example configuration files for installed software packages?

/usr/share/doc/
/usr/share/doc/
/etc/defaults/
/etc/defaults/
/var/info/
/var/info/
/doc/
/doc/
/usr/examples/
/usr/examples/
Suggested answer: A
asked 18/09/2024
Ryan Shannon
43 questions

Question 37

Report Export Collapse

Which of the following commands adds the directory /new/dir/ to the PATH environment variable?

$PATH=/new/dir: $PATH
$PATH=/new/dir: $PATH
PATH=/new/dir: PATH
PATH=/new/dir: PATH
export PATH=/new/dir: PATH
export PATH=/new/dir: PATH
export $PATH=/new/dir: $PATH
export $PATH=/new/dir: $PATH
export PATH=/new/dir: $PATH
export PATH=/new/dir: $PATH
Suggested answer: E
asked 18/09/2024
Brandon Walters
38 questions

Question 38

Report Export Collapse

A user is currently in the directory /home/user/Downloads/ and runs the command

ls ../Documents/

Assuming it exists, which directory's content is displayed?

/home/user/Documents/
/home/user/Documents/
/home/user/Documents/Downloads/
/home/user/Documents/Downloads/
/home/user/Downloads/Documents/
/home/user/Downloads/Documents/
/Documents/
/Documents/
/home/Documents
/home/Documents
Suggested answer: D
asked 18/09/2024
Melvin Masina
38 questions

Question 39

Report Export Collapse

A directory contains the following three files:

texts 1.txt texts 2.txt texts 3.csv

Which command copies the two files ending in .txt to the /tmp/ directory?

cp ??.txt /tmp/
cp ??.txt /tmp/
cp *.txt /tmp/
cp *.txt /tmp/
cp. \.txt /tmp/
cp. \.txt /tmp/
cp ?.txt /tmp/
cp ?.txt /tmp/
cp $?.txt /tmp/
cp $?.txt /tmp/
Suggested answer: B
asked 18/09/2024
Anupam Roy
54 questions

Question 40

Report Export Collapse

FILL BLANK

When typing a long command line at the shell, what single character can be used to split a command across multiple lines?

Become a Premium Member for full access
  Unlock Premium Member
Total 80 questions
Go to page: of 8