- Unix / Linux for Beginners
- 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 Programming
- 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.
Q 2 - Which of the following is correct to create an alias name for 'ls' as 'list'?
Answer : A
Explanation
Syntax is alias alias-name=”command”.
Q 3 - Which character can be used to separate two commands on the same line?
Answer : B
Explanation
Q 4 - Following file contains the encrypted password of the users.
Answer : B
Explanation
Q 5 - Which option can be used with ‘chmod’ to apply permission bits recursively on all the files.
Answer : B
Explanation
Answer : B
Explanation
‘uname’ can display much more technical information about your hardware and OS apart from name of the OS.
Q 7 - How can you execute ‘date’ command staying within vi editor?
Answer : B
Explanation
Staying in command mode of vi, hit : and any command following exclamation (!).
Q 8 - What are the options used to list the contents of a .tar file?
Answer : B
Explanation
‘t’ to list out, ‘v’ is verbose mode & ‘f’ for target file.
Q 9 - In general the working directory of the user root is __
Answer : B
Explanation
This path is editable even after installation of the system.
Q 10 - Out of the following which can place in home directory?
Answer : C
Explanation
To Continue Learning Please Login
Login with Google