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 MIDTERM EXAM 2025/2026 QUESTIONS AND ANSWERS GUARANTEE A+

Document preview thumbnail
Preview 2 out of 6 pages

DCOM 142 MIDTERM EXAM 2025/2026 QUESTIONS AND ANSWERS GUARANTEE A+

Content preview

DCOM 142 MIDTERM EXAM 2025/2026 QUESTIONS
AND ANSWERS GUARANTEE A+
✔✔Which of the following can not be a source of standard input? - ✔✔screen

✔✔Which symbol represent appending stdout to the end of a file? - ✔✔>>

✔✔What is the process of accepting input data from a source other than the keyboard
and sending output data to a destination other than the display device? - ✔✔redirection

✔✔Which Linux command can you use to read a file? (Select all that apply) - ✔✔cat,
less, more

✔✔Which symbol represent reading input from a a file? - ✔✔<

✔✔What is the second step in the procedure to remove a file? - ✔✔Enter rm {file name}

✔✔Which are type of links? (Select all that apply) - ✔✔hard, symbolic or soft

✔✔Which command is used to translate a string of characters and is predominantly
used to change the case of letters in a file? - ✔✔tr

✔✔"Which ls command option can be used to show all files in a directory, including files
that begin with a period?" - ✔✔"""-a"""

✔✔Which Linux command allows you to perform pattern matching on a file? - ✔✔awk

✔✔Which two files are referenced in the creation of an user's account. -
✔✔/etc/login.defs
/etc/skel

✔✔User student can access the shadow file by running 'cat /etc/shadow'. - ✔✔false

✔✔"To control password expiration, warnings, inactive days and aging info, use thic
command." - ✔✔chage

✔✔What does the Principle of Least Privilege state? - ✔✔Users should be given no
more authority on the system than they need to perform their job.

✔✔Which are types of user account? (Select three) - ✔✔root user, standard user,
service user

✔✔A Linux system references a group account by a group's - ✔✔GID

, ✔✔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

Document information

Uploaded on
July 17, 2025
Number of pages
6
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$11.99

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.
BOARDWALK
3.5
(41)
Sold
287
Followers
11
Items
36004
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