MCQGeeks
0 : 0 : 1
CBSE
JEE
NTSE
NEET
English
UK Quiz
Quiz
Driving Test
Practice
Games
Quiz
Computer Science
Unix
Quiz 1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Q.1
Major expressions used with find command to select file is it has been accessed in more than 375 days, is
#NAME?
#NAME?
#NAME?
#NAME?
None of the above
Q.2
Which of are following internal commands is used in mail to forward mail to user in user-list?
r user-list
m user-list
d user-list
e user-list
None of the above
Q.3
The UNIX file system stores a date in physical blocks of
1024 bytes
2048 bytes
512 bytes
256 bytes
None of the above
Q.4
Which of the following commands is used to display the filenames in multiple columns?
ls
ls -1
ls -x
lc
None of the above
Q.5
Which command is used with file named 'note' to remove the executable permission from the user and assign read permission to the group and others?
chmod u-x, go+r note
chmod go+r, u+x note
chmod g-x, uo+r note
chmod go+x, u-x note
None of the above
Q.6
Which command is used to terminate all processes in your own system except the login shell?
kill 1
kill 0
cancel all
cancel 1
None of the above
Q.7
Which operator will be used with chmod command to assign absolute permission?
+
-
=
%
None of the above
Q.8
Which command is used to link the files?
lk
ln
cp
tar
None of the above
Q.9
Which of the following signs is used to back up over typing errors in vi?
@
#
$
!
None of the above
Q.10
Which of the following commands is not the vi Input mode command?
rch
R
S
j
None of the above
Q.11
Which of the following commands is used to remove files?
erase
delete
rm
dm
. None of the above
Q.12
Which of the following commands is used to have a two-way communication with any person who is currently logged in?
mail
mesg
write
grep
None of the above
Q.13
Which command is used with vi editor to move the cursor to the left?
i
j
k
h
None of the above
Q.14
Which of command is used to copy a file?
copy
cp
cpio
tar
None of the above
Q.15
Which command is used with vi editor to save file and remain in the editing mode?
:q
:w
q!
:x
None of the above
Q.16
You can append to a file instead of overwriting by using the
> symbols
>> symbols
< symbols
<< symbols
None of the above
Q.17
The [line number G] key allows you
to move cursor left by one position
to move cursor right by one position
to move cursor down by one line
to move cursor to the beginning of the line specified by the number
None of the above
Q.18
The special shell variable $* is used
to exit status of ast command executed.
to process number of the current shell
to list the positional parameters
to name the command being executed
None of the above
Q.19
The cat command is used to
capture a file
display a file
print a file
copy a file
None of the above
Q.20
Which of the following commands is used to save the output of the who command in a file named user.lst, as well as display it?
who | tee user.lst
who > user.lst
who >> user.lst
who < user.lste
None of the above
Q.21
Which of the following shell's wildcards are used to match any number of characters including none?
[ijk]
[!ijk]
?
*
None of the above
Q.22
The command used to remove the directory is;
rmdir
rd
remove
rdir
None of the above
Q.23
Which symbol will be used with grep command to match the pattern pat at the end of a line?
^pat
$pat
pat$
pat^
None of the above
Q.24
Which command is used to display all the lines with the string 'sales' from the file empl.lst?
cut sales empl.lst
/sales > empl.lst
grep sales empl.lst
cat | /sales > empl.lst
None of the above
Q.25
Which command is used with vi editor to move cursor forward to first occurrence of character 'ch' in the current line?
tch
fch
rch
ech
None of the above
Q.26
Which of following commands is used for an automatic reminder service?
write
mesg
calendar
mail
None of the above
Q.27
Which of the following command is used to go to home directory?
cd..
cd/
cd
cd HOME.
None of the above
Q.28
Which command is used to move all files to the bin sub-directory of the parent directory?
mv *.* /bin/
mv * /bin/*
mv * ../bin
mv * ../bin *.*
None of the above
Q.29
Which of the following keys is used to delete the character beneath the cursor?
x
X
dd
D
None of the above
Q.30
Which command is used to assign only read permission to all three categories of the file 'note'?
chmod go+r note
chmod a-rw
chmod ugo=r note
chmod u+r,g+r,o-x note
None of the above
0 h : 0 m : 1 s
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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