100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
ITN 171 Chapter 2 Review || 100% ACCURATE!! $7.99   Add to cart

Exam (elaborations)

ITN 171 Chapter 2 Review || 100% ACCURATE!!

 4 views  0 purchase
  • Course
  • ITN 171
  • Institution
  • ITN 171

2.1 Enter a : and press [Enter]. Next run type :. What do you conclude? correct answers The : must be a command that does nothing. The command type : indicates that the command is built into the shell. 2.2 UNIX commands must be in lowercase and must not have extensions. True or false? correct an...

[Show more]

Preview 1 out of 2  pages

  • September 11, 2024
  • 2
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • ITN 171
  • ITN 171
avatar-seller
ProPerfomer
ITN 171 Chapter 2 Review || 100% ACCURATE!!
2.1 Enter a : and press [Enter]. Next run type :. What do you conclude? correct answers The :
must be a command that does nothing. The command type : indicates that the command is
built into the shell.

2.2 UNIX commands must be in lowercase and must not have extensions. True or false?
correct answers False, you can use uppercase and provide extensions to command filenames,
although convention follows the opposite

2.3 Name three UNIX commands whose names are more than five characters long. correct
answers printf, script, and passwd.

2.4 Find out whether these commands are internal or external: echo, date, pwd, and ls. correct
answers echo and pwd are internal commands; date and ls are external.

2.5 If two commands with the same filename exist in two directories in PATH, how can they
be executed? correct answers The command that occurs first in the PATH list would require
no special treatment. The other command needs to be used with a pathname.

2.6 How is the current directory indicated in PATH? correct answers With a dot.

2.7 How many options are there in this command? ls -lut chap01 note3 correct answers
Three.

2.8 If you find yourself using options preceded by two hyphens (like --all), which flavor of
UNIX could you be using? correct answers Linux.

2.9 What is the name given to the command and its options and arguments? correct answers
The command line.

2.10 How do you find out the version number of your operating system? correct answers
uname -r.

2.11 Why are the directories /bin and /usr/bin usually found first in PATH? correct answers
Because the commonly used UNIX commands are located there.

2.12 What is whitespace? Explain the treatment the shell metes out to a command that
contains a lot of whitespace. correct answers Whitespace is a contiguous set of spaces, tabs,
and newline characters. The shell compresses multiple contiguous whitespace characters into
a single space.

2.13 Do you need to wait for a command to finish before entering the next one? correct
answers No, the buffer associated with the keyboard stores all input.

2.14 Why doesn't this command run in the way it is meant to? printf "Filename: %s\n", fname
correct answers fname is supposedly a variable, so it should be prefixed with a $.

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 ProPerfomer. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

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

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

79079 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
$7.99
  • (0)
  Add to cart