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 11 pages
Exam (elaborations)

IFT250-Final Questions and Answers Fully Solved 100%

Document preview thumbnail
Preview 2 out of 11 pages

Why is the mailx command is superior to a GUI program like Netscape or Mozilla - ️️-non-interactive scripts can be used with the shell to interact with mailx -mailx can pipe the contents of a file into a command to send mail Echo will be treated as a built in command even if it is found in /bin . - ️️True The cd command can be found in /usr/sbin . - ️️False script command in UNIX is used to record your session - ️️True Select all options that apply. What is true for using a "#" before a command ? - ️️- The shell will not interpret the words as commands -# can be used to record comment for documentation When a program needs to read a file on a disk, it makes a system call to the operating system. The OS then directs the disk controller to open the file and enables the program to read data from the file. - ️️True

Content preview

IFT250-Final
Why is the mailx command is superior to a GUI program like Netscape or Mozilla -
✔️✔️-non-interactive scripts can be used with the shell to interact with mailx
-mailx can pipe the contents of a file into a command to send mail

Echo will be treated as a built in command even if it is found in /bin . - ✔️✔️True

The cd command can be found in /usr/sbin . - ✔️✔️False

script command in UNIX is used to record your session - ✔️✔️True

Select all options that apply. What is true for using a "#" before a command ? - ✔️✔️-
The shell will not interpret the words as commands
-# can be used to record comment for documentation

When a program needs to read a file on a disk, it makes a system call to the operating
system. The OS then directs the disk controller to open the file and enables the program
to read data from the file. - ✔️✔️True

The output in the who command cannot have same user-id more than once. -
✔️✔️False

Directories, devices, terminals, and printers are not treated as files in UNIX. -
✔️✔️False

Interaction with a UNIX system is achieved through the shell. The shell acts as a
command interpreter by interpreting the keyed in word as a command to be executed. -
✔️✔️True

If the system does not have the apropos command man -k can be used instead. -
✔️✔️True

The below commands will create the same files

echo > README

echo > readme - ✔️✔️False

Out of the below options, select all that apply. Your system user-id is used for which of
the below purposes:

-Logging into the system
-Output of who command

, -Communication with other users - ✔️✔️-Logging into the system
-Output of who command
-Communication with other users

What do the | and the three dots in the SYNOPSIS section of man pages indicate as
shown below?

/usr/xpg4/bin/tail [ -f | -r ]

/usr/bin/ls [ -aAbcCdfFgilLmnopqrRstux1 ] [ file ... ] - ✔️✔️The three dots signify that
there can be more than one instance of the argument passed for that command.
The | also known as "pipe" signifies that only one option on either side of the pipe can
be used.


A nonprivileged user cannot change the system date. Only users with root access can. -
✔️✔️True

Select any four shell programs:

-Bourne shell
-Bourne again shell
-C shell
-Korn Shell
-Y shell - ✔️✔️-Bourne shell
-Bourne again shell
-C shell
-Korn Shell

Shell starts executing upon successful login to your terminal - ✔️✔️True

The below two commands are not interchangeable :

tar -tvf /dev/fd0

tar -t -v -f /dev/fd0 - ✔️✔️False

The commands used by the System Administrator are in /sbin and /usr/sbin. -
✔️✔️True

Select the command that can be used to print the month name of current date .

-date +%h
-date +%m
-date %m - ✔️✔️date +%h

Document information

Uploaded on
December 15, 2024
Number of pages
11
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$8.49

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.
Brainarium
3.8
(333)
Sold
1979
Followers
1046
Items
23853
Last sold
16 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