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

NOS120 FINAL UPDATED ACTUAL Exam Questions and CORRECT Answers

Document preview thumbnail
Preview 4 out of 34 pages

NOS120 FINAL UPDATED ACTUAL Exam Questions and CORRECT Answers The exit status is used with the test command and is a value that represents the value of a test, such a value of 0 to show that the results of the test are true or a value of 1 to show the test results are false. - CORRECT ANSWER - What is an exit status and with what command is it used? /etc/.bashrc

Content preview

NOS120 FINAL UPDATED ACTUAL Exam
Questions and CORRECT Answers
The exit status is used with the test command and is a value that represents the value of a test,
such a value of 0 to show that the results of the test are true or a value of 1 to show the test
results are false. - CORRECT ANSWER - What is an exit status and with what command
is it used?


/etc/.bashrc


/etc/profile - CORRECT ANSWER - In your organization everyone uses the Bash shell in
Red Hat Enterprise Linux andall users use the same aliases and shell functions. In what file or
files can the systemadministrator place these aliases and functions so they are available to all
users? (Choose all that apply.)


stringtest()
{
test -z $text
echo $?

} - CORRECT ANSWER - Create a simple function that determines if the string variable,
text, contains no characters (is of zero length).


test /source/results -nt /data/results


test /source/results -nt /data/results ; echo $? - CORRECT ANSWER - Create a statement
that enables you to determine if the file /source/results is newer


The top command enables the user to monitor CPU-intensive tasks. A process/task can be
stopped when you enter the k command and provide the PID. - CORRECT ANSWER -
What is the purpose of the top command and how can you use it to stop a process?

,Network protocol communications
Network connections established by the host computer
Network routing information
Information about computers remotely logged onto the host computer

Data and communications errors - CORRECT ANSWER - Name types of information that
you can obtain using netstat.(Choose all that apply)


/etc/exports
/etc/hosts.allow

/etc/hosts.deny - CORRECT ANSWER - Name some files that should be modified for
security when using NFS. (Choose all that apply).


du - CORRECT ANSWER - You are gathering information about the amount of disk space
occupied by users' home directories.


free - CORRECT ANSWER - The ____ command displays the amount of free and used
memory in the system.


iptables - CORRECT ANSWER - The ____ utility manages a firewall and packet filtering.



RPC - CORRECT ANSWER - A(n) ____ enables services and software on one computer
to use services and software on a different computer


0 - CORRECT ANSWER - dump level ____ is used to back up all files.



true - CORRECT ANSWER - When you use restore, by default it copies back to your
current working directory.

,cmp - CORRECT ANSWER - You can use the ____ utility to compare the contents of two
files, and if there is a difference, the command reports the location at which the files first start to
differ


top - CORRECT ANSWER - The ____ command displays a listing of the most CPU-
intensive tasks, such as the processor state, in real time (the display is updated every five seconds
by default).


make - CORRECT ANSWER - The ____ utility maintains program source code.



-C - CORRECT ANSWER - The ____ option of the ispell utility is used to ignore
concatenated words.


true - CORRECT ANSWER - Unlike top, the free utility runs and then automatically exits.



512 - CORRECT ANSWER - When you use the du utility, file usage is expressed in the
number of ____-byte blocks (default) or by the number of bytes (the -b option).


netstat - CORRECT ANSWER - The ____ utility gathers statistics and information about
IP communications on a computer.


ping - CORRECT ANSWER - The ____ utility offers a simple way to test connections



dd - CORRECT ANSWER - Possessing a rich set of options that allow it to handle copies
when other methods are inappropriate, the ____ command can handle conversions to and from
legacy EBCDIC to ASCII.


1024 - CORRECT ANSWER - The df utility reports the number of ____-byte blocks that
are allocated, used, and available; the percentage used; and the mount point for mounted file
systems.

, false - CORRECT ANSWER - An IP address uses a dotted decimal notation that consists
of 16-bit binary numbers (octets) separated by periods used to identify a computer or network
device and the network it is on.`


false - CORRECT ANSWER - Most computers store text using EBCDIC codes.


+ add
- subtract
* multiply

/ divide - CORRECT ANSWER - What arithmetic operators are used in Perl scripts?


Is used to reference a file in Perl.


It is the name for an I/O connection and is used to open, read, write to, or close a file that you are
accessing. - CORRECT ANSWER - What is a filehandle in Perl? (Choose all that apply.)


Awk does not require explicitly setting up looping structures.


Awk uses fewer lines of code for pattern-matching extractions.


Awk uses BEGIN and END blocks. - CORRECT ANSWER - Name at least one difference
between Perl and Awk programming. (Choose all that apply.)


variables, constants, scalars, numbers, strings, arrays, and hashes. - CORRECT
ANSWER - Name five data types used by Perl. (Choose all that apply.)



A menu can be set up and launched from a Panel in GNOME. - CORRECT ANSWER -
Your department is developing its own set of marketing applications. In a meeting, a member of
the department asks whether a menu can be set up in the GNOME desktop for easy access to the
new applications .What is your response?

Document information

Uploaded on
March 26, 2025
Number of pages
34
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$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.
MGRADES
4.0
(235)
Sold
1538
Followers
108
Items
111318
Last sold
12 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