100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
[Solved] Arizona State University IFT 383 Final $11.49   Add to cart

Exam (elaborations)

[Solved] Arizona State University IFT 383 Final

 45 views  0 purchase
  • Course
  • Institution

Arizona State University IFT 383 Final IFT383 Final

Preview 2 out of 13  pages

  • May 1, 2021
  • 13
  • 2020/2021
  • Exam (elaborations)
  • Questions & answers
avatar-seller
 Question 1
1.5 out of 1.5 points
___________________ shows the count of the arguments (positional parameters) passed to the
script.
Selected $
Answer: #
Correct
Answer:
Evaluation Method Correct Answer
Exact Match $#

 Question 2
1 out of 1.5 points
Given a file foo1, replace all occurrences of the word “SHELL” with “CLEAR” from 5th line till
end in only those lines that contains word “UNIX”.
Selected 5G
Answer: :g/SHELL/s//CLEAR/g
Correct
Answer: sed –n ‘5,$p’ foo1|sed ‘/UNIX/s/SHELL/CLEAR/’
 Question 3
0 out of 1.5 points
If an owner doesn’t have write permission on a file but their group has, what actions can they
perform on the file?
Selected c.
Answer: Can edit, can delete
Answers: a.
Cannot edit, cannot
delete
b.
Can edit, cannot
delete
c.
Can edit, can delete

d.
Cannot edit, can
delete
 Question 4
1.5 out of 1.5 points
___________________ keyword is used to define a subroutine in Perl.
Selected a.
Answer: sub
Answers: a.
sub
b.

, routine
c.
sr
d.
subrouti
ne
 Question 5
1.5 out of 1.5 points
The output of the who command may have the same user id listed more than once. True or False?
Selected Tru
Answer: e
Answers: Tru
e
False
 Question 6
1.5 out of 1.5 points
Given 2 files foo and bar, write a command to print the records which are common to both.
Selected sort foo bar |
Answer: uniq -d
Correct
Answer: comm -12 file1 file2
 Question 7
1.5 out of 1.5 points
___________________ considers the entire set of positional parameters as a single string
Selected a
Answer: .
$*
Answers: a
.
$*
b.
$@
c.
$$
d.
$#
 Question 8
1.5 out of 1.5 points
Write the commands to create a directory such that anyone in the group can create a file and
access any person’s file in it but nobody in the group should be able to delete a file other than the
one they created.
Selected mkdir Test; chmod u=rwx, g=rx,
Answer: o=r Test

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 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 these notes from?

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

Will I be stuck with a subscription?

No, you only buy these notes for $11.49. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

75759 documents were sold in the last 30 days

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

Start selling
$11.49
  • (0)
  Add to cart