MCQGeeks
0 : 0 : 1
CBSE
JEE
NTSE
NEET
English
UK Quiz
Quiz
Driving Test
Practice
Games
Quiz
Computer Science
Unix
Quiz 4
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
The second set of the three permissions (r-) indicates that
group has read permission only
other has read permission only
owner has read permission only
group has write permission only
None of the above
Q.2
Which column contains all details of the permissions of a file when you issue the ls -l command?
second
fourth
third
first
None of the above
Q.3
The command used to compare the files is known as
comp
cmp
do
ccp
None of the above
Q.4
Which of the following commands is used to display your working directory?
dir
prompt $p$g
pwd
path
None of the above
Q.5
While working with mail command, which command is used to save mail in a separate file?
s
r
w
d
None of the above
Q.6
Which command is used to terminate a process?
shutdown
haltsys
cancel
kill
None of the above
Q.7
Which option will be used with sort command to start sorting ofter the nth column of the (m+l)th field?
#NAME?
#NAME?
#NAME?
+(m+l).n
None of the above
Q.8
The cp command uses:
standard input file
standard output file
both input and output file
neither standard input nor standard output file
None of the above
Q.9
Which of the following files contains information related to password aging?
Shadow
password
profile
All the three
None of the above
Q.10
Which of the following commands is used to identify the type of file by context?
ls
cat
file
more
None of the above
Q.11
The field separator in cut command is specified with
#NAME?
#NAME?
-r option
#NAME?
None of the above
Q.12
Which of the following options will be used to display number of blocks used by a file?
-c
#NAME?
#NAME?
#NAME?
None of the above
Q.13
Which option will be used with touch command to change the access time?
-a
-b
-t
-h
None of the above
Q.14
Which command is used to make all files and sub-directories in the directory (progs) executable by all users?
chmod -R a+x progs
chmod -R 222 progs
chmod -1 a+x progs
chmod -x a+x progs
None of the above
Q.15
Which command will be used with vi editor to insert text to left of cursor?
s
S
a
i
None of the above
Q.16
Which option is used with rm command to make the command prompt the user with each filename and a ?, before acting on it
-r
#NAME?
#NAME?
-1
None of the above
Q.17
The agency that sits between the user and the UNIX system is called the
logic
profile
shell
erxc
None of the above
Q.18
Which of the following commands is used to update access and modification times of a file?
grep
wc
touch
cat
None of the above
Q.19
In vi editor, forward search is performed using the command.
:pat
?pat
/pat
All of the above
None of the above
Q.20
Which of the following special shell variables is used to process number of the last background job?
$!
$#
$0
$*
None of the above
Q.21
Which of the following directories contain all the Alias created by a user, including his login directory?
/tmp
/etc
/usr
/dev
None of the above
Q.22
Which of the following commands is used to obtain a list of all files by modification time?
ls -1
ls -t
ls -i
ls -R
None of the above
Q.23
The % key allows you
to move the cursor to a matching delimiter, when a delimiters a parenthesis, a bracket, or a brace.
to move the cursor to the upperleft corner of the screen
to move the cursor backward to the beginning of a word
to move the cursor to the first column in the current line
None of the above
Q.24
Which command is used to count just the number of characters in a file?
wc - 1
wc -c
wc -w
wc -r
None of the above
Q.25
Which of the following commands is used to list contents of directories?
ls
lp
dir
tar
None of the above
Q.26
Which command is used to display a file contents in octal form?
cd
od
of
oct
None of the above
Q.27
Which of the following keys is used to move the cursor to the end of the paragraph.
}
{
|
$
None of the above
Q.28
Which command is used to concatenate all files beginning with the string 'emp' and followed by a non-numeric characters?
cat emp[!0-9]
more [emp][!0-9]
cat emp[x-z]
cat emp[a-z]
None of the above
Q.29
Which option will be used with ps command to slow the entire command line of the process being run?
-4
#NAME?
-1
-2
None of the above
Q.30
Which of the following command addresses all users who are currently hooked on?
write
mail
wall
mesg
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