• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 3 out of 22 pages
Exam (elaborations)

NT 326 (System Administration Scripting) Latest Midterm Guide 2024.

Document preview thumbnail
Preview 3 out of 22 pages

NT 326 (System Administration Scripting) Latest Midterm Guide 2024.NT 326 (System Administration Scripting) Latest Midterm Guide 2024.NT 326 (System Administration Scripting) Latest Midterm Guide 2024.

Content preview

NT 326



System Administration Scripting




LATEST MIDTERM GUIDE
Q&S




©2024/2025

,1. Multiple Choice: What is the primary function of a shell in
a Unix-like system?
a) Managing hardware resources
b) Providing an interface for system administration
scripting
c) Handling user authentication
d) Networking and data transfer
Answer: b) Providing an interface for system
administration scripting
Rationale: The shell is the command-line interface used
by the system administrator to control the operating system
and its processes.

2. Fill-in-the-Blank: In a scripting context, the _______
command is used to search for and replace text within files.
Answer: sed (Stream Editor)
Rationale: The sed command is a stream editor that can
perform basic text transformations on an input stream (a file
or input from a pipeline).

3. True/False: The cron daemon can be used to schedule
scripts to run at specific intervals.
Answer: True
Rationale: The cron daemon is used to execute
scheduled commands or scripts at specified times and
intervals.

4. Multiple Response: Which of the following are valid types
of shell variables? (Select all that apply)
a) Local variables
©2024/2025

, b) Environmental variables
c) System variables
d) User-defined variables
Answers: a) Local variables, b) Environmental variables,
d) User-defined variables
Rationale: Local, environmental, and user-defined
variables are all types of variables used in shell scripting.
System variables are not a recognized category.

5. Multiple Choice: What does the 'chmod +x' command do
to a file?
a) Changes the file ownership
b) Modifies the file's read permissions
c) Adds execute permissions to the file
d) Compresses the file
Answer: c) Adds execute permissions to the file
Rationale: The 'chmod +x' command modifies a file's
mode bits to add execute permissions for the user, group,
and others.

6. Fill-in-the-Blank: The _______ utility is used to monitor
and control processes on Unix-like systems.
Answer: top
Rationale: The top program provides a dynamic real-time
view of a running system, including process management.

7. True/False: Bash scripts must always have a '.sh' file
extension.
Answer: False
Rationale: While '.sh' is a common convention for bash
scripts, the file extension is not required for the script to run.

8. Multiple Response: Which of the following are benefits of
©2024/2025

Document information

Uploaded on
October 18, 2024
Number of pages
22
Written in
2024/2025
Type
Exam (elaborations)
Contains
Unknown
$11.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.
Examiner651
5.0
(2)
Sold
21
Followers
5
Items
3724
Last sold
3 months 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