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

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

List of questions

Question 21

Report Export Collapse

Which of the following commands sorts the output of the command export-logs?

export-logs < sort
export-logs < sort
export-logs > sort
export-logs > sort
export-logs & sort
export-logs & sort
export-logs | sort
export-logs | sort
export-logs <> sort
export-logs <> sort
Suggested answer: D
asked 18/09/2024
DAVID PUNTIN
31 questions

Question 22

Report Export Collapse

A directory contains the following files:

LPI 010-160 image Question 22 51604 09182024213221000000

What would be the output of the following shell script? for file in *.txt

*.txt
*.txt
a b
a b
c.cav
c.cav
a.txt
a.txt
a. txt b. txt
a. txt b. txt
Suggested answer: E
asked 18/09/2024
Jhonatan Abril
33 questions

Question 23

Report Export Collapse

Which of the following commands will search for the file foo.txt under the directory /home?

search /home -file foo.txt
search /home -file foo.txt
search /home foo. txt
search /home foo. txt
find /home - file foo.txt
find /home - file foo.txt
find /home -name foo.txt
find /home -name foo.txt
find /home foo.txt
find /home foo.txt
Suggested answer: D
asked 18/09/2024
Hector Quintero
50 questions

Question 24

Report Export Collapse

The current directory contains the following file:

-rw-r—r— 1 root exec 24551 Apr 2 12:36 test.sh

The file contains a valid shell script, but executing this file using ./test.sh leads to this error:

bash: ./test.sh: Permission denied

What should be done in order to successfully execute the script?

The file's extension should be changed from .sh to .bin.
The file's extension should be changed from .sh to .bin.
The execute bit should be set in the file's permissions.
The execute bit should be set in the file's permissions.
The user executing the script should be added to the exec group.
The user executing the script should be added to the exec group.
The SetUID bit should be set in the file's permissions
The SetUID bit should be set in the file's permissions
The script should be run using #!./test. sh instead of ./test.sh.
The script should be run using #!./test. sh instead of ./test.sh.
Suggested answer: B
asked 18/09/2024
VEDA VIKASH Matam Shashidhar
45 questions

Question 25

Report Export Collapse

What is a Linux distribution?

The Linux file system as seen from the root account after mounting all file systems.
The Linux file system as seen from the root account after mounting all file systems.
A bundling of the Linux kernel, system utilities and other software.
A bundling of the Linux kernel, system utilities and other software.
The set of rules which governs the distribution of Linux kernel source code.
The set of rules which governs the distribution of Linux kernel source code.
An operating system based on Linux but incompatible to the regular Linux kernel.
An operating system based on Linux but incompatible to the regular Linux kernel.
A set of changes to Linux which enable Linux to run on another processor architecture.
A set of changes to Linux which enable Linux to run on another processor architecture.
Suggested answer: B
asked 18/09/2024
Vinnie Meuldijk
38 questions

Question 26

Report Export Collapse

Which package management tool is used in Red Hat-based Linux Systems?

portage
portage
rpm
rpm
apt-get
apt-get
dpkg
dpkg
packagectl
packagectl
Suggested answer: B
asked 18/09/2024
Rickey Dickens
45 questions

Question 27

Report Export Collapse

Which of the following programs is a graphical editor for vector graphics?

Python
Python
NGINX
NGINX
Samba
Samba
Inkscape
Inkscape
MySQL
MySQL
Suggested answer: D
asked 18/09/2024
TJOE INKAWATI
30 questions

Question 28

Report Export Collapse

Where is the operating system of a Raspberry Pi stored?

On the master device attached to the Raspberry Pi's IDE bus.
On the master device attached to the Raspberry Pi's IDE bus.
On a read only partition on the Raspberry Pi's firmware, next to the BIOS.
On a read only partition on the Raspberry Pi's firmware, next to the BIOS.
On a removable SD card which is put into the Raspberry Pi.
On a removable SD card which is put into the Raspberry Pi.
On a Linux extension module connected to the Raspberry Pi's GPIO pins.
On a Linux extension module connected to the Raspberry Pi's GPIO pins.
On rewritable flash storage which is built into the Raspberry Pi.
On rewritable flash storage which is built into the Raspberry Pi.
Suggested answer: C
asked 18/09/2024
Camille Rudio
39 questions

Question 29

Report Export Collapse

What is defined by a Free Software license?

Details of the technical documentation each contributor has to provide.
Details of the technical documentation each contributor has to provide.
The programming languages which may be used to extend the licensed program.
The programming languages which may be used to extend the licensed program.
A complete list of libraries required to compile the licensed software.
A complete list of libraries required to compile the licensed software.
Limits on the purposes for which the licensed software may be used.
Limits on the purposes for which the licensed software may be used.
Conditions for modifying and distributing the licensed software.
Conditions for modifying and distributing the licensed software.
Suggested answer: E
asked 18/09/2024
Katrina Allangba
43 questions

Question 30

Report Export Collapse

Why are web browser cookies considered dangerous?

Cookies support identification and tracking of users.
Cookies support identification and tracking of users.
Cookies are always public and accessible to anyone on the internet.
Cookies are always public and accessible to anyone on the internet.
Cookies consume significant amounts of storage and can exhaust disk space.
Cookies consume significant amounts of storage and can exhaust disk space.
Cookies store critical data which is lost when a cookie is deleted.
Cookies store critical data which is lost when a cookie is deleted.
Cookies can contain and execute viruses and malware.
Cookies can contain and execute viruses and malware.
Suggested answer: A
asked 18/09/2024
Elham Alasmari
41 questions
Total 80 questions
Go to page: of 8