Upload
medha-jha
View
215
Download
0
Embed Size (px)
Citation preview
8/9/2019 L1 Assessment Question for linux
1/3
LINUX
Note All Questions are Compulsory Each question is of 2marks.
!er"ritin# is not allo"e$.
%&What privileges does "execute (x)" on a directory grant when set?
a. this permission allows a user to write into directory.
b. this permission allows a user to change into directory and
Access the files in it.
c. this permission deny a user to access the directory content.
d. this permission allows a user remove all the files in the
Directory.
2&Which special permission causes files to inherit the group ownership of
the directory in which they are created instead of the default groupof the user who creates the file ?
a. sticy bit b. suid c. sgid d. uuid
'&What is the si!e of an #$.
a. %%& # b. ' # c. '* byte d. '* #
(&+ow we can chec the location of a binary.
a. ll,binaryname- b. ls,binaryname-
c. whatis,binaryname- d. which ,binaryname-
)&What is the umas of root user.
a. b. *
c. ** d. **
*&What is the use of etcinittabfile.
a. it contain filesystem information
b. it contain networ information
c. it contaionrunlevel settings
d. it configuration of ssh server
+&What happen when we use this command for a directory?
chmod /x directory
a. everyone get the permission of execute
b. only owner user get the permission of write
c. only the owner group get the permission of write
8/9/2019 L1 Assessment Question for linux
2/3
d. only other account get the permission of execute
,&+ow we can chec the value of a variable.
a. echo variablename b. echo /variable name
c. echo 0variablename d. echo 1variable name
-&What is the default permission of file if you are not woring aslinux admin account.
a. %%& b. 223
c. &&% d. &%%
%&What is name of home directory of Admin user in 4inux.
a. "" b. root c. root d. home
%%&What is the default syntax of command used in 4inux.
a. command 5options6 argument
b. command argument 5options6c. 5options6 command argument
d. argument command 5options6
%2&What is uid and gid of root.
a. ' b. '
c. d.
%'7 Which one of them used to define user8s home directory.
a. 1 b. 9 c. :d. /
%(&What is the default shell of 4inux?
a. binsh b. binsh
c. bintcsh d. binbash
%)&What is the location of document pages?
a. usrsharedoc b.varnamedchroot
b. home d.usrsbin
%*&;rom which uid and gid number do other users8 uidgidstart ?
a.2 b.
c.' d.
%+&What is the name of ernel file.
a. initrd b. vmlinu!
c. resolv.confd. ifcfg7eth
%,&What is the id of swap partition?
8/9/2019 L1 Assessment Question for linux
3/3
a.