- 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.
Answer : B
Explanation
pwd (present working directory).
Q 2 - What does the following command will do?
$ chmod 888 file
A - It enables r,w,x premissions for all users
B - It disable r,w,x permissions for all users
Answer : D
Explanation
We can provide the permission values in octal number system and 888 is not a valid octal number.
Answer : C
Explanation
rm, can delete a file as well as a directory.
Q 4 - Which command can be used to determine file type by its content?
Answer : A
Explanation
Command file determines the file type by MIME.
Q 5 - Which is the invalid file name in UNIX?
Answer : D
Explanation
Q 6 - Which character can be used to delete a character at the cursor position in vi?
Answer : C
Explanation
In the command mode of vi editor x removes the character at cursor position.
Q 7 - Which command can be used to count characters in a text file?
Answer : B
Explanation
wc, apart from counting characters it can also count number of line & words.
Q 8 - Which command can be used to make variables of shell to be made available to sub shell?
Answer : B
Explanation
As in the following example
$ var = "tutorialspoint" $ export var $ bash -c "echo $var"
Answer : C
Explanation
Oracle Corporation took over Sun microsystems