DispersedNet
SiteMap
Unix Concepts
Shell Programming
Shell Scripting
Unix Questions
Unix Concepts
«Prev
Next»
Unix Concepts
File Management
List Files Command
Copy Directories Command
Removing Directories Quickly
Unix About Links
Creating File Link
Find Command Search
File Management Conclusion
Unix Customization
Creating Aliases Unix
list current Aliases
Displaying Previous Commands
Repeating Previous Commands
Modifying Previous Command
Changing System Prompt
Storing shell Settings
Customize-environment
Grep Regular Expression
Define Regex
Using Quotes with Regex
Matching Pattern Occurrences
Matching Pattern Position
Turnoff Character Meaning
Regex Conclusion
Pattern Matching - Quiz
editing with vi
vi Review
Text in vi
Creating Text
Creating Command Shortcuts
Configure Editing Environment
Storing Custom Settings
Esditing Multiple Files
Pasting Text Files
vi Editing Conclusion
Managing Disk Space
Checking Disk Usage
Compressing Uncompressing Files
Viewing Compressed Files
File Archives
Create Archive
Listing Archives
Extracting Archive Files
Managing Disk Space Conclusion
Unix Conclusion - Quiz
Each question is worth one point. Select the best answer or answers for each question.
1.
Which of the following will repeat the previous command?
Please select the best answer.
A.
!!
B.
!history
C.
history
D.
!$
2.
Assuming you are using the C shell, what does the following command do?
Please select the best answer.
A.
% alias dir ls
B.
Lists the definitions for two aliases named dir and ls.
C.
Produces an error message.
D.
Creates an alias named dir for the command ls.
E.
Displays the definition for the dir alias, then lists your current directory.
3.
Suppose you see the following results after entering the history command:
% history
1 cd project
2 ls
3 vi index.html
4 history %
Which two of the following would you enter to rerun the command vi index.html?
Please select all the correct answers.
A.
!3
B.
!!
C.
!vi
D.
vi !$
4.
To change your prompt to Hello there, which of the following commands must you enter:
Please select the best answer.
A.
set prompt="Hello there"
B.
setprompt="Hello there"
C.
set prompt=Hello there
D.
set prompt "Hello there"