
- Unix / Linux - Home
- Unix / Linux - What is Linux?
- Unix / Linux - Getting Started
- Unix / Linux - File Management
- Unix / Linux - Directories
- Unix / Linux - File Permission
- Unix / Linux - Environment
- Unix / Linux - Basic Utilities
- Unix / Linux - Pipes & Filters
- Unix / Linux - Processes
- Unix / Linux - Communication
- Unix / Linux - The vi Editor
- Unix / Linux - Shell Scripting
- Unix / Linux - What is Shell?
- Unix / Linux - Using Variables
- Unix / Linux - Special Variables
- Unix / Linux - Using Arrays
- Unix / Linux - Basic Operators
- Unix / Linux - Decision Making
- Unix / Linux - Shell Loops
- Unix / Linux - Loop Control
- Unix / Linux - Shell Substitutions
- Unix / Linux - Quoting Mechanisms
- Unix / Linux - IO Redirections
- Unix / Linux - Shell Functions
- Unix / Linux - Manpage Help
- Advanced Unix / Linux
- Unix / Linux - Standard I/O Streams
- Unix / Linux - File Links
- Unix / Linux - Regular Expressions
- Unix / Linux - File System Basics
- Unix / Linux - User Administration
- Unix / Linux - System Performance
- Unix / Linux - System Logging
- Unix / Linux - Signals and Traps
Unix / Linux Online Quiz
Following quiz provides Multiple Choice Questions (MCQs) related to Unix Framework. You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the quiz.

Q 1 - What does the following command would do
$ cp ../file.
A - Copies the file from current directory to parent directory
B - Copies the file from parent directory to its parent directory
C - Copies the file from parent directory to current directory
Answer : C
Explanation
Dot dot (..) represents parent directory and Dot (.) represents current working directory.
Answer : C
Explanation
Yanking is the process of holding a text in the buffer.
Q 3 - Choose the correct from below to search for lines beginning with the pattern using grep.
Answer : A
Explanation
The pattern can be enclosed in single quotes to suppress meaning of all the meta-characters special meanings.
Q 4 - Which command can be used to drop a message to all logged in users.
Answer : D
Explanation
wall is considered as broadcasting command. Typically used by admins to pass on important info to all logged in users.
Q 5 - Which character is used to search a pattern in the forward direction in vi editor?
Answer : D
Explanation
Q 6 - Which command can be used to restrict the messages to be written onto you terminal using write command?
Answer : A
Explanation
You can turn off messages by executing the command mesg with n as argument.
Q 7 - Display the file contents page wise
Answer : C
Explanation
more holds the scrolling page wise. Hit space bar to continue reading to next page. Hit q to quit from more.
Q 8 - Which command is used to change default permissions for files & directories at the time of creation?
Answer : D
Explanation
umask sets the mask value for files & directories at the time of creation.
Answer : B
Explanation
Answer : B
Explanation
Link count gets increased by creating only hard links.