Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 2 out of 6 pages
Exam (elaborations)

DCOM 142 LATEST EXAMS SCRIPT ALL QUESTIONS AND ANSWERS SURE

Document preview thumbnail
Preview 2 out of 6 pages

DCOM 142 LATEST EXAMS SCRIPT ALL QUESTIONS AND ANSWERS SURE

Content preview

DCOM 142 LATEST EXAMS SCRIPT ALL
QUESTIONS AND ANSWERS SURE A+
✔✔What are the three commands used to properly edit the /etc/passwd file? (Select all
Three) - ✔✔useradd, usermod, userdel

✔✔A Linux system references a user account by a user's - ✔✔UID

✔✔What is used to specify a group ID? - ✔✔"""-g"""

✔✔Which type of user account plays two roles on a Linux system? - ✔✔root user

✔✔Which command is used to create a user account and configure basic settings? -
✔✔useradd

✔✔This file is used to store the hashed version of a user's password. - ✔✔/etc/shadow

✔✔Which directory's contents are copied to the user's home directory upon account
creation? - ✔✔/etc/skel

✔✔The file provides system-wide Bash settings. - ✔✔/etc/bashrc

, ✔✔Where should administrators set system-wide variables in scripts on a Linux
system? - ✔✔/etc/profile.d

✔✔"As a system administrator, why might you issue theid command?" - ✔✔To display
user ID (UID) and group ID (GID) information.

✔✔"As a system administrator, why might you issue the id command? (Select all that
apply)" - ✔✔-displays UID information
display primary GID information
-display secondary group information
-display password aging information

✔✔Which command is primarily used to display the details of users who are currently
logged in to a system and their transactions? - ✔✔w

✔✔Which file is only read when you first login to the system? - ✔✔.bash_profile

✔✔You can find student's UID by doing the following. (Select all that apply) - ✔✔id
student
cat /etc/passwd | grep student

✔✔Which file provides shell configuration for the initial login environment? -
✔✔.bash_profile

✔✔What file does the last command retrieve information from? - ✔✔/var/log/wtmp

✔✔What is the second step when changing a user s profile? - ✔✔Enter vim
.bash_profile

✔✔What octal number represents the write attribute. - ✔✔2`

✔✔What octal number represents the execute attribute. - ✔✔1

✔✔What octal number represents the read attribute. - ✔✔4

✔✔What is the default permissions for a file created by a regular user? - ✔✔664

✔✔What does the ls -l command do? - ✔✔Lists directory contents in long format

✔✔Which is not an operator use by chmod in symbolic mode? - ✔✔*

Document information

Uploaded on
July 15, 2026
Number of pages
6
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$17.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
EXAMCAFE
3.4
(19)
Sold
157
Followers
7
Items
26245
Last sold
1 week ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions