100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
UNIX - Exam 2 Study Guide Questions Correctly Solved, Score A+ R234,14   Add to cart

Exam (elaborations)

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

 0 view  0 purchase
  • Course
  • ...
  • Institution
  • ...

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

Preview 3 out of 24  pages

  • August 28, 2024
  • 24
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • ...
  • ...
avatar-seller
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

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 EFT, 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 this summary from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller Americannurse. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy this summary for R234,14. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

80189 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy summaries for 14 years now

Start selling
R234,14
  • (0)
  Buy now