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

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

Add to Whishlist

List of questions

Question 11

Report Export Collapse

Which permissions are set on a regular file once the permissions have been modified with the command chmod 654 file.txt?

drw-r-xr--
drw-r-xr--
dβ€”wxr-x--
dβ€”wxr-x--
-wxr-x--x
-wxr-x--x
-rwxrw---x
-rwxrw---x
-rw-r-xr--
-rw-r-xr--
Suggested answer: E
asked 18/09/2024
Samy Mameri
32 questions

Question 12

Report Export Collapse

What is true about the owner of a file?

Each file is owned by exactly one user and one group.
Each file is owned by exactly one user and one group.
The owner of a file always has full permissions when accessing the file.
The owner of a file always has full permissions when accessing the file.
The user owning a file must be a member of the file's group.
The user owning a file must be a member of the file's group.
When a user is deleted, all files owned by the user disappear.
When a user is deleted, all files owned by the user disappear.
The owner of a file cannot be changed once it is assigned to an owner.
The owner of a file cannot be changed once it is assigned to an owner.
Suggested answer: A
asked 18/09/2024
Jimmy Wasson
42 questions

Question 13

Report Export Collapse

Which of the following permissions are set on the /tmp/ directory?

rwxrwxrwt
rwxrwxrwt
------rwX
------rwX
rwSrw-rw
rwSrw-rw
rwxrwS---
rwxrwS---
r-xr-X--t
r-xr-X--t
Suggested answer: A
asked 18/09/2024
Morris Djavaheri
34 questions

Question 14

Report Export Collapse

Which command adds the new user tux and creates the user's home directory with default configuration files?

defaultuser tux
defaultuser tux
useradd -m tux
useradd -m tux
usercreate tux
usercreate tux
useradd -o default tux
useradd -o default tux
passwd -a tux
passwd -a tux
Suggested answer: B
asked 18/09/2024
Ishan Patel
48 questions

Question 15

Report Export Collapse

What information is stored in /etc/passwd? (Choose three.)

The user's storage space limit
The user's storage space limit
The numerical user ID
The numerical user ID
The username
The username
The encrypted password
The encrypted password
The user\s default shell
The user\s default shell
Suggested answer: B, C, D
asked 18/09/2024
Emmanuel Aminu
51 questions

Question 16

Report Export Collapse

Which of the following tar options handle compression? (Choose two.)

Become a Premium Member for full access
  Unlock Premium Member

Question 17

Report Export Collapse

FILL BLANK

What keyword is used in a shell script to begin a loop? (Specify one keyword only, without any additional information.)

Become a Premium Member for full access
  Unlock Premium Member

Question 18

Report Export Collapse

Which of the following commands creates an archive file work.tar from the contents of the directory ./work/?

Become a Premium Member for full access
  Unlock Premium Member

Question 19

Report Export Collapse

Which of the following keys can be pressed to exit less?

Become a Premium Member for full access
  Unlock Premium Member

Question 20

Report Export Collapse

The current directory contains the following file:

-rwxr-xr-x 1 root root 859688 Feb 7 08:15 test.sh

Given that the file is a valid shell script, how can this script be executed? (Choose two.)

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