100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
NOS 120 MIDTERM 3 REVIEW EXAM QUESTIONS AND ANSWERS $13.49   Add to cart

Exam (elaborations)

NOS 120 MIDTERM 3 REVIEW EXAM QUESTIONS AND ANSWERS

 6 views  0 purchase
  • Course
  • NOS 120
  • Institution
  • NOS 120

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

Preview 2 out of 6  pages

  • October 17, 2024
  • 6
  • 2024/2025
  • Exam (elaborations)
  • Unknown
  • NOS 120
  • NOS 120
avatar-seller
luzlinkuz
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

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller luzlinkuz. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $13.49. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

79223 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$13.49
  • (0)
  Add to cart