100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

DCOM 142 Final Exam Questions with correct solutions

Rating
-
Sold
-
Pages
5
Grade
A+
Uploaded on
09-12-2025
Written in
2025/2026

DCOM 142 Final Exam Questions with correct solutions

Institution
Advanced Education
Course
Advanced education









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Advanced education
Course
Advanced education

Document information

Uploaded on
December 9, 2025
Number of pages
5
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

DCOM 142 Final Exam Questions with
correct solutions
What command is used to display all hard drive partitions? - ANSWER>>fdisk -l

Which of the following tools is best suited to installing a software package and all of its
dependencies on a Debian computer? - ANSWER>>apt-get

What is the usual name of the first process that the Linux kernel runs, aside from itself? -
ANSWER>>init

Which of the following tools can you use to identify running processes? (choose two) -
ANSWER>>ps
top

Where do most log files reside on a Linux system? - ANSWER>>/var/log

Which of the following are package management commands for distributions with software
distributed in files ending in .rpm? (choose three) - ANSWER>>yumex
yum
rpm

You have created a new local network in one of the floors of tour office. All networking devices
and computers are physically connected to one another through cables. How will you verify the
logical connectivity among them? - ANSWER>>Executing the ping command

How many bits does an IPv4 address have? - ANSWER>>32

Which of the following number formats is used to represent an IPv6 address? -
ANSWER>>Hexadecimal

Which of the following options is used to uniquely identify a device over a network? -
ANSWER>>IP address

What term refers to the worldwide system of servers that translates between IP addresses and
hostnames? - ANSWER>>DNS

, Which of the following numbers denotes the root user? - ANSWER>>0

What is the effect of the following command, assuming it completes successfully?
$ groupadd ccbc - ANSWER>>It creates a new group called ccbc

Which of the following commands is used to switch from one user login to another in a Linux
computer? - ANSWER>>su

Which of the following utilities provides an efficient way to give specific users permission to use
specific system commands at the root level of a Linux computer? - ANSWER>>sudo

Which of the following commands provides a quick summary of every use logged into a
computer? - ANSWER>>w

Which of the following statements is included is a case statement to denote the end of a case
statement? - ANSWER>>esac

What key(s) will enable insert mode in "vi" editor? - ANSWER>>"i" key

What key will you use to delete a line in "vi" editor? - ANSWER>>"dd"

what key will you use to delete a line in "vi" editor? - ANSWER>>"dd"

After using a text editor to create a shell script, what step should you take before typing to use
the script by typing its name? - ANSWER>>Set one or more executable bits using chmod

Which of the following entries is maintained at the first line of the bash script? -
ANSWER>>#!/bin/bash

Which of the following extensions is used at the end of the script name? - ANSWER>>.sh

What is the effect of the following short script, ex1, if it's called as ex1 big.c big.cc? #!/bin/bash
cp $2 $1 - ANSWER>>it copies the contents of big.cc to big.c, eliminating the old big.c

Given the following script that is run through ./test.sh hello goodbye :
if [ -f $2 ]; then echo "I am here" fi - ANSWER>>if a file called "goodbye" exists in the current
directory the script will always print "I am here"
$15.49
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
publisherlawrence

Get to know the seller

Seller avatar
publisherlawrence Johns Hopkins University
View profile
Follow You need to be logged in order to follow users or courses
Sold
1
Member since
9 months
Number of followers
1
Documents
1428
Last sold
4 months ago
publishing revion exam and pastpaper

full of revisions exam with solved solutions

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

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

Frequently asked questions