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

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

Rating
-
Sold
-
Pages
2
Grade
A+
Uploaded on
11-09-2024
Written in
2024/2025

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: %sn", fname correct answers fname is supposedly a variable, so it should be prefixed with a $.

Show more Read less
Institution
ITN 171
Course
ITN 171








Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
ITN 171
Course
ITN 171

Document information

Uploaded on
September 11, 2024
Number of pages
2
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

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 $.

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.
ProPerfomer (self)
View profile
Follow You need to be logged in order to follow users or courses
Sold
431
Member since
2 year
Number of followers
322
Documents
8502
Last sold
2 weeks ago
Global Scholars’ Resource Hub

Welcome to your ultimate exam success hub! We provide top-quality, up-to-date, and approved exam materials—study guides, practice tests, and notes for a variety of subjects. Whether you’re preparing for school, college, or professional exams, our resources are designed to help you study smarter and score higher. Thousands have passed with our materials—now it’s your turn!Need more resources or something specific? Contact me anytime, and I’ll be happy to help you find exactly what you need. Your success is our mission!" ✅ Covers multiple subjects and exam types ✅ Includes real practice questions, answers, and study tips ✅ Ideal for students, test takers, and last-minute review Your Exam Success Starts Here – Grab Your Bundle Before It’s Gone!

Read more Read less
3.9

83 reviews

5
36
4
25
3
9
2
1
1
12

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 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

Frequently asked questions