MCQGeeks
0 : 0 : 1
CBSE
JEE
NTSE
NEET
English
UK Quiz
Quiz
Driving Test
Practice
Games
Quiz
Information Science
1000 Unix
Quiz 3
1
2
3
4
5
6
7
8
9
10
11
12
13
Q.1
Which of the following command will be used for searching “director” in emp.lst?
a) grep “director” emp.lst
b) grep -director emp.lst
c) grep -v “director” emp.lst
d) grep “director”
Q.2
Which of the following command is used for searching for a pattern in one or more file(s)?
a) paste
b) grep
c) cd
d) cp
Q.3
Which of the following commands is known as stream editor?
a) grep
b) tr
c) sed
d) td
Q.4
What is a shell script?
a) group of functions
b) a file containing a series of commands
c) a file containing special symbols
d) group of commands
Q.5
To run the script, we should make it executable first by using _____
a) chmod +w
b) chmod +rwx
c) chmod +x
d) chmod +r
Q.6
Which command is used for acquiring superuser status?
a) su
b) pu
c) super
d) admn
Q.7
Which command is used to find out the consumption of a specific directory?
a) mem
b) dv
c) du
d) df
Q.8
Which filter apart from perl, is the most powerful?
a) awk
b) grep
c) cut
d) sed
Q.9
For running a Unix command within awk, we’ve to use ____ function.
a) split
b) system
c) substr
d) length
Q.10
To extract specific columns from a file ____ command is used.
a) cut
b) pr
c) head
d) tail
Q.11
Which of the following cannot be performed by cat command?
a) appending files
b) deleting files
c) creating files
d) displaying files
Q.12
What is the default delimiter used by the cut command for cutting fields?
a) underscore
b) space
c) tab
d) double tab
Q.13
Which of the following is not an internal command used by mailx?
a) d
b) N
c) a
d) q
0 h : 0 m : 1 s
1
2
3
4
5
6
7
8
9
10
11
12
13
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