100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
nos120 MIDTERM Questions With Complete Solutions $15.99   Add to cart

Exam (elaborations)

nos120 MIDTERM Questions With Complete Solutions

 5 views  0 purchase
  • Course
  • Nos120
  • Institution
  • Nos120

nos120 MIDTERM Questions With Complete Solutions

Preview 4 out of 43  pages

  • November 1, 2024
  • 43
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • Nos120
  • Nos120
avatar-seller
Classroom
nos120 MIDTERM Questions With Complete Solutions

- a filesystem label
- a filesystem UUID
- a device path such as /dev/sdb2 Correct Answer Which of the
following can be used to mount a filesystem? (Choose all that
apply.)

- reboot the system
- run the partprobe command Correct Answer Aria has
modified the hard disk that hosts the operating system by using
the fdisk command. The fdisk command indicates that the new
partition information must be manually reloaded. Which of the
following should she do next? (Choose two. Either answer is
independently correct.)

- Systemd
- SysV Correct Answer Which of the following is a valid Linux
initialization process? two answers

---r--rw- Correct Answer After typing the command umask
731, the permissions on all subsequently created files and
directories will be effected. In this case, what will be the
permissions on all new files?

---r--rw- (777 - 731 = 046) Correct Answer After typing the
command umask 731, the permissions on all subsequently
created files
and directories will be affected. In this case, what will be the
permissions on all new files?

,--wx--xrwx 1 user1 root 0 Apr 29 15:40 file1 Correct Answer
The command chmod 317 file1 would produce which of the
following lines in the ls command?

-R *
The -R option will recursively change ownership on files and
subdirectories within a directory.
--recursive *
The --recursive option will recursively change ownership on
files and subdirectories within a directory. Correct Answer
Which of the following options will change the ownership of
files and directories recursively within a directory? (Choose all
that apply)

; (semi-colon) Correct Answer What metacharacter can be used
to issue two commands to be run in consecutive order, without
piping or redirecting output?

(hd2,1) Correct Answer Which of the following indicates the
second partition on the third hard disk drive to GRUB?
a. (hd3,2) b. (hd4,3) c. (hd2,3) d. (hd2,1)

*which grep --The which grep command will return the alias
and location of only the grep executable.
*type grep --The type grep command will return the alias and
location of the grep executable only. Correct Answer Which of
the following commands will return one result of where the grep
binary executable is located? (choose two).

/boot Correct Answer In what directory is Stage2 of the
GRUB2 boot loader stored?

,/etc/fstab Correct Answer Which file should be configured so
that quotas are enabled at boot time?

/etc/init.d Correct Answer Which directory stores most UNIX
SysV rc scripts?

/etc/inittab Correct Answer Which file does the UNIX SysV
init daemon reference on startup to determine the default
runlevel?

/etc/localtime Correct Answer Which of the following files is a
binary file that contains the rules for calculating the time based
on your time zone relative to epoch time?

/etc/rc2.d Correct Answer What is the name of the directory
that contains symbolic links to UNIX SysV rc scripts for
runlevel 2?

/etc/updatedb.conf Correct Answer Lynn runs the locate
command and the results include many files from a directory
that she doesn't want to include in her search. Which of the
following files could Lynn modify so that the locate command
no longer includes those results?

/root Correct Answer The Filesystem Hierarchy Standard
specifies what directory as the root user's home directory?

/usr/share/zoneinfo Correct Answer Where are the files stored
that contain information for all of the time zones that could be
recognized by a Linux operating system?

, /var/lib/mlocate/mlocate.db Correct Answer What is the
complete path and filename for the database that is used by the
locate and mlocate commands?

& Correct Answer What metacharacter indicates background
command execution?

# Correct Answer 15. Which prompt does the root user receive
when logged into the system?
a. $
b. @
c. #
d. !

$ Correct Answer 16. Which prompt do regular users receive
when logged into the system?
a. $
b. @
c. #
d. !

0 Correct Answer Which runlevel halts the system?

0177 Correct Answer Which of the following umask setting
will result in new files receiving the default permission -
rw-------?

1. lsblk

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 Classroom. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $15.99. 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
$15.99
  • (0)
  Add to cart