Solaris UNIX Review

advertisement
Student:
«FName» «LName»,
May 29, 2016
Solaris UNIX Review
Instructor: D. Hart
1.
The following questions are true or false. Write a capital T or F for True or False
respectively. Two points each for each answer.
1.
The C shell prompt is the C:/>
2.
The Root prompt in the Korn shell is #
3.
The Korn Shell prompt is the %
4.
The Bourne Shell prompt is the $
5.
The first version of UNIX was created by Bell Labs
6.
The first version of UNIX was called the C shell
7.
Most current versions of UNIX are based on the SCV4 platform
8.
UNIX always requires a username and password for access to the system
9.
It is possible to install Solaris on an Intel box providing the minimum requirements are
met.
10. Solaris is strictly a desktop operating system.
Computer & Voice Networking
Communication Careers for the 21st Century
*** Over Please ***
Student
II.
.
«FName» «LName»
May 29, 2016
Please complete the following sentences by choosing the best answer(s) and
writing the letter(s) of your choice in the blank. You may also answer any of the
following with the letter E which means NONE OF THE ABOVE. Two points each.
1.
Which of the following correctly describe the Solaris OS?
a. Stand-alone workstation
b. Multi-user
c. Single User
d. Multi-tasking
2.
Solaris has two interfaces for the user. They are:
a. Windows 3.x
b. CDE
c. Terminal
d. Windows 9x
3.
When in the Solaris GUI interface, you click on what to close the interface?
a. The X in the upper right corner
b. The minus sign in the upper left corner
c. The word that say “EXIT” in the lower part of the screen
d. Open a console window and type BYE.
4.
The Solaris GUI environment provides direct access to which of the following?
a. A Web browser
b. Microsoft Office 2000
c. A Terminal window
d. The vi editor
5.
When in terminal mode in Solaris, which command opens the text file “Sample” for
editing purposes?
a. edit Sample
b. edlin sample
c. vi sample
d. copy con sample
Student:
«FName» «LName»,
May 29, 2016
6.
Which of the following UNIX commands have DOS equivalents with the same spelling
a. more
b. ls
c. cat
d. cd
7.
You want to view or look at a multi-page text file named “summary.” Which command
works best to allow you to move forward and backward at will in the text file?
a. vi summary
b. type summary
c. cat summary
d. cat summary | more
8.
MoeJoe owns several files in the etc directory. How would you list just MoeJoe’s
files?
a. Dir MoeJoe*
b. LS Moe Joe*
c. list ow=moejoe
d. more moejoe
9.
I have a text file named ‘80movies’ that lists all the movie titles from the 1980s. How
would I find the name of a movie that had “Summer Vacation” in it?
a. ls 80movies|grep summer vacation
b. grep summer vacation
c. grep –i 80movies summer vacation
d. grep 80movies ‘Summer Vacation’
10. Which vi mode must you be in to initiate the o command?
a. Insert
b. Command
c. Overtype
d. Text
Computer & Voice Networking
Communication Careers for the 21st Century
*** Over Please ***
Student
«FName» «LName»
May 29, 2016
III. Please explain the function of the following vi commands. Two points each.
IV.
1.
3dd
2.
:q!
3.
:wq
4.
O
5.
$
__
The following two questions are provided as OPTIONAL QUESTIONS. You may
choose to do them or ignore them.
You may not fully understand one of the questions in section I or II. If that is the
case you may choose to substitute one of these questions for one or two of the
questions above.
However, you may substitute for only one question in each section. If you
choose to substitute, you must choose the question above and write
SUBSTITUTE in the answer space instead of the answer. Otherwise these
questions won’t be counted.
1. T/F
The find command in Solaris is functionally equivalent to the Find command in
Windows 98.
2. T/F
The current and most commonly used GUI for Solaris is Open Windows.
Download