MCQGeeks
0 : 0 : 1
CBSE
JEE
NTSE
NEET
English
UK Quiz
Quiz
Driving Test
Practice
Games
Quiz
Unix
Unix Assessment
Quiz 1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Q.1
The category of commands which uses both standard input and standard output are called ____
a) directory oriented commands
b) standard input commands
c) filters
d) standard output commands
Q.2
The contents of fileare: 25*50
a) undefined
b) erroneous
c) 429467296, 1250
d) 1650
Q.3
Which of the following files are known as special files in UNIX?
a) sample.txt
b) /dev/null
c) /dev/tty
d) /dev/null and /dev/tty
Q.4
The size of /dev/null is always zero.
a) True
b) False
Q.5
Which symbol is used to redirect error messages to /dev/null?
a) %
b) $
c) >
d) <
Q.6
Which file is used for indicating terminals?
a) /dev/tty
b) /dev/null
c) terminal file
d) device file
Q.7
Which symbol is used to connect different streams?
a) |
b) >
c) <
d) ~
Q.8
We can use the > symbol along with pipe in a command.
a) True
b) False
Q.9
What is the output of the following command? bc < file> result.txt
a) total size of .c files
b) size of each .c file
c) undefined
d) erroneous
Q.10
In a pipeline, the command on the left of | must use standard output and one on the right must use standard input.
a) True
b) False
Q.11
Which command saves one copy of character stream in a file and store the other to standard output?
a) who
b) ls
c) tee
d) wc
Q.12
tee is an internal command.
a) True
b) False
Q.13
Which of the following is not true about tee command?
a) it is a feature of the shell
b) it is an external command
c) tee command duplicates its input
d) tee is an internal command
Q.14
Apart from its use in redirection, /dev/tty can also be used as an argument to some commands.
a) True
b) False
0 h : 0 m : 1 s
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Report Question
×
What's an issue?
Question is wrong
Answer is wrong
Other Reason
Want to elaborate a bit more? (optional)
Support mcqgeeks.com by disabling your adblocker.
×
Please disable the adBlock and continue.
Thank you.
Reload page