McGraw-Hill OnlineMcGraw-Hill Higher EducationLearning Center
Student Center | Instructor Center | information Center | Home
Glossary
Sample Configuration Scripts
Internet Resources
Multiple Choice Quiz
True or False
Feedback
Help Center


Book cover
Introduction to UNIX
Kate Wrightson
Joe Merlino

The Shell Environment

Multiple Choice

Click on the correct response for each question below.



1

Which of the following is not a major Unix shell?
A)X shell
B)C shell
C)bash shell
D)Korn shell
2

Which was the first Unix shell?
A)C shell
B)Bash
C)Korn shell
D)Bourne shell
3

The purpose of the PATH variable is to
A)Show the current directory
B)Show the directory path of a file
C)Tells the shell what directories to search when a command is entered
D)Both A and C
4

What special character is used to designate the users home directory in the C shell?
A)@
B)~
C)&
D)$
5

The letters "rc" in .cshrc represent
A)reverse configuration
B)random constant
C)run control
D)run configuration
6

A personal run control file for bash is
A).cshrc
B)profile
C).bsh
D).bashrc
7

Personal run control files are stored
A)In the users home directory
B)In the /etc directory
C)In the /home directory
D)In the /bin directory
8

Lines in a run control file that begin with a # sign are
A)Numbers
B)Executable
C)Comments
D)None of the above
9

To see what aliases are active, you type
A)Alias
B)Alias -a
C)Alias -all
D)Alias -active
10

The shell in the Unix system is the
A)Outer layer of a seed
B)User interface with the operating system
C)Provides a prompt
D)Both B and C




McGraw-Hill/Irwin