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 0 out of 0 pages
Exam (elaborations)

DCOM 142 LINUX FINAL QUESTIONS ,DCOM 211 FINAL

Document preview thumbnail
Preview 0 out of 0 pages

DCOM 142 LINUX FINAL QUESTIONS ,DCOM 211 FINAL

Content preview

DCOM 142 LINUX FINAL QUESTIONS ,DCOM 211
FINAL



Which options to find can you use to locate files owned by a particular user - Answers -
-user, -uid

A caret (^) represents the start of a line in regular expressions. (T or F) - Answers -T

The gzip program generally produces more compact compressed files than does the
bzip2 program. (T or F) - Answers -F

Where does the kernel store its ring buffer logs? - Answers -In memory

A program allocates more and more memory but doesn't use the memory it allocates (2
words). - Answers -Memory leak

Both RPM and Debian packages can specify that they require other packages. (T or F) -
Answers -T

The file stuff.txt does not exist. You type nano stuff.txt and press Enter. What happens
next? - Answers -The nano text editor starts, and displays the message, New File, in
the status bar.

A text encoding method that can use single- or multiple-byte encodings to store text. -
Answers -Unicode

ASCII is limited to 72 characters (T or F) - Answers -F

What Bash scripting keyword terminates a case statement? - Answers -esac

The string _______, located at the start of the file, identifies a script as a Bash script. -
Answers -!#/bin/bash

You can record the output of a command in a variable by enclosing the command in
backticks. (T or F) - Answers -F

What types of information does the id command provide? - Answers -Your UID,
username, current group, all group member

You can type _____ command, with no arguments, to learn your current username and
nothing more? - Answers -whoami

,The lowest UID number used for user accounts on Linux systems is typically 500 or
1000. (T or F) - Answers -T

Which of the following makes a good password?

Your username
'password'
Telephone #
None of these - Answers -None

You want to delete the oldproj group, so you type _____ oldproj. - Answers -groupdel

useradd copies a set of user config files from /etc/skel when creating a new user
account. (T or F) - Answers -T

Mary finds that she can delete George's files in /tmp. What might this imply? - Answers
-The sticky bit is missing from /tmp; it should be set.

The command _____ :users somefile.txt changes the group affiliation of somefile.txt to
users. - Answers -chown

Setting the SUID bit on a program file that's owned by root causes it to execute with
root. (T or F) - Answers -T

What file would contain the following: nameserver 8.8.8.8 - Answers -/etc/resolv.conf

A computer's full hostname is franklin.example.org. What is the machine name portion?
- Answers -franklin

WEP provides the highest available level of Wi-Fi security. (T or F) - Answers -F

Which command would create a zip file containing the files, holiday.tif and desc.txt, and
compress it as much as possible? - Answers -zip -9 trip.zip holiday.tif desc.txt

Which regular expression string matches any sequence of characters of any length? -
Answers -.*

Which of the following redirection operators appends a program's standard output to an
existing file, without overwriting that file's original contents? - Answers ->>

The ________ qualifier to tar causes it to use xz compression when creating an archive.
- Answers ---xz

You can use the ____ command to count the characters, words, and lines in a text file. -
Answers -wc

, Linux supports two types of text-mode output to the screen, which you can send to
separate files or display devices. (T or F) - Answers -T

You use the ___ character to separate two strings, either of which should match, in an
extended regular expression. - Answers -|

Which options to find can you use to locate files owned by a particular user? - Answers
--user, -uid

The ps program enables you to view the process table. (T or F) - Answers -T

An Internet site that hosts software that you can install with yum, APT, or a similar tool
is known as a ___________ - Answers -repository

The first process to be run by the Linux kernel is normally called ________ - Answers -
init

Which of the following programs produces a summary of the memory status of your
computer, including the total memory available, the amount used, and the amount that's
unused? - Answers -free

Which of the following tools can you use to identify running processes? - Answers -ps,
top

Pressing the M key in top causes the display to change to sort processes by memory
use. (T or F) - Answers -T

Which of the following commands provides a low-level way to install software on a
Debian system? - Answers -dpkg

The /var/log/messages file always holds general-purpose log entries. (T or F) -
Answers -F

To save a text file in vi, you should press Ctrl+S. (T or F) - Answers -F

You're working in vi and, after having saved your current file, you want to load a new
one. You can do so by typing ____ newfile.txt from command mode. - Answers -:e

A version of the vi text editor called "vi improved," or vim is used for most Linux
distributions. (T or F) - Answers -T

What keystroke deletes a line of text when using nano? - Answers -Ctrl+K

In pico or nano, you can paste text that you've cut or copied earlier by pressing
Ctrl+____. - Answers -U

Document information

Uploaded on
January 24, 2026
Number of pages
Unknown
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$15.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.
GEEKA
3.8
(366)
Sold
2165
Followers
1449
Items
60438
Last sold
8 hours 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