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 5 pages
Exam (elaborations)

DCOM 142 Final Exam Questions with correct solutions

Document preview thumbnail
Preview 2 out of 5 pages

DCOM 142 Final Exam Questions with correct solutions

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"

Document information

Uploaded on
December 9, 2025
Number of pages
5
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$12.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

Sold
1
Followers
1
Items
1719
Last sold
1 year 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