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)

NOS 120 MIDTERM 3 REVIEW EXAM QUESTIONS AND ANSWERS

Document preview thumbnail
Preview 2 out of 6 pages

NOS 120 MIDTERM 3 REVIEW EXAM QUESTIONS AND ANSWERS...

Content preview

NOS 120 MIDTERM 3 REVIEW EXAM
QUESTIONS AND ANSWERS
Suppose you have a directory named Project within your current working
directory. Assume the Project directory also contains files and additional
subdirectories. Which command would remove the Project directory and
all of its contents without prompting to confirm each file deletion? -
ANSWER rm -rf Project

Which of the following redirection symbols should be used to append the
results to an existing file (preserving the contents)?
Select one:
a. &>
b. >
c. >>
d. 2> - ANSWER >>

What is a daemon? - ANSWER A daemon is a system process that
performs key tasks like printing, maintenance or scheduling. The first
daemon on the system is the init daemon, which loads all of the other
daemons that are necessary to make the system usable.

In vi editor, which key combination do we use to save and exit?
Select one:
a. ctrl-c
b. :q
c. :wq
d. :q! - ANSWER c. :wq

To start and stop daemons, as well as configure them to automatically
start during system initialization, you can use the
_______________________ command. - ANSWER systemctl

You work as a Linux system administrator for a small business. The
company has a web server that records every login attempt to a custom
log file named log_file.txt. There has a been a recent security breach,

, and your boss has asked you to generate a list of all failed login
attempts in this log file.
Below is an example of what the first 10 lines of this log file might look
like:


What grep command would you issue to generate a list of failed login
attempts? - ANSWER grep "login:fail" login_log.txt

Write the command that would print the following sentence to the
terminal (exactly as it appears below):
When I graduate I hope to make a lot of $$ - ANSWER echo "When I
graduate I hope to make a lot of \$\$"

In the following command, what do we call the part in blue?
ls -a /home/jsmith/private
Select one:
a. argument
b. option - ANSWER argument

Users enter commands directly to the kernel of the Linux operating
system.
Select one:
True
False - ANSWER false

Which runlevel reboots the system?
Select one:
a. 1
b. 3
c. 6
d. 5
e. 0 - ANSWER 6

In the following command, what do we call the part in blue?
rm -rf /home/jsmith/private
Select one:
a. option

Document information

Uploaded on
October 17, 2024
Number of pages
6
Written in
2024/2025
Type
Exam (elaborations)
Contains
Unknown
$13.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.
luzlinkuz
3.8
(328)
Sold
1594
Followers
852
Items
32238
Last sold
3 days 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