100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4,6 TrustPilot
logo-home
Exam (elaborations)

UNIX - Exam 2 Study Guide Questions Correctly Solved, Score A+

Rating
-
Sold
-
Pages
24
Grade
A+
Uploaded on
28-08-2024
Written in
2024/2025

UNIX - Exam 2 Study Guide Questions Correctly Solved, Score A+

Institution
...
Course
...

Content preview

Name: Score:


83 Multiple choice questions

Definition 1 of 83
When you create a shell script to run in Bash, you can immediately run the script by typing ____ and
then the name of the script.

set


sh

-u

FALSE

Definition 2 of 83
The ____ redirects the output of one command to the input of another command.

pipe operator (|)

curly brackets { }

ls > homedir.list

printenv

Term 3 of 83
"The Bash shell offers improved features over the older Bourne and Korn shells and is fully
backward compatible with the Bourne shell.

True


False

,Definition 4 of 83
When you assign a value to a variable, you might want to evaluate it by displaying its contents via
a(n) ____ operator.

FALSE


Configuration

-print


evaluating

Definition 5 of 83
One way to run a shell script is to make it executable by using the x permission and then typing
____ prior to the script name when you run the script itself.

-v

./


-u

sh

Definition 6 of 83
____ is a selection command.

glob


uniq

bash

Awk

, Term 7 of 83
When you use cat to combine two files into a third file, the first line of the output contains the first
line of the first file followed by the first line of the second file.

True

False

Term 8 of 83
"You use the chexec command to indicate that a (shell script) file can be executed.

True

False

Definition 9 of 83
The ____ function within the awk command is used to format output.

printf


printenv

-print

while

Definition 10 of 83
____ variables are those you create at the command line or in a shell script.

syntax

Shell

FALSE

comm

Written for

Institution
...
Course
...

Document information

Uploaded on
August 28, 2024
Number of pages
24
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Get to know the seller

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.
amzingnurse study smarts
Follow You need to be logged in order to follow users or courses
Sold
1555
Member since
1 year
Number of followers
62
Documents
3634
Last sold
5 days ago

4,8

1567 reviews

5
1344
4
184
3
14
2
6
1
19

Trending documents

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card or EFT and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions