L1 Linux Question

Embed Size (px)

Citation preview

  • 8/9/2019 L1 Linux Question

    1/3

    LINUX

    2-Which special permission causes files to inherit the group ownership of

    the directory in which they are created instead of the default group

    of the user who creates the file ?

    a. sticky bit b. suid c. sgid d. uuid

    3-What is the size of an MBR.

    a. 446 MB b. !" MB c. !# byte d. !# MB

    4-$ow we can check the location of a binary.

    a. ll%binaryname& b. ls%binaryname&

    c. whatis%binaryname& d. which %binaryname&

    5-What is the umask of root user.

    a. """" b. """#

    c. ## d. ""##

    6-What is the use of 'etc'inittabfile.

    a. it contain filesystem information

    b. it contain network information

    c. it contaionrunle(el settings

    d. it configuration of ssh ser(er

    7-What happen when we use this command for a directory?

    chmod )* directory

    a. e(eryone get the permission of e*ecute

    b. only owner user get the permission of write

    c. only the owner group get the permission of write

    d. only other account get the permission of e*ecute

    8-$ow we can check the (alue of a (ariable.

    a. echo (ariablename b. echo )(ariable name

    c. echo +(ariablename d. echo ,(ariable name

    9-What is the default permission of file if you are not working as

    linu* admin account.

    a. 446 b. --

    c. 664 d. 644

    10-What is name of home directory of /dmin user in 0inu*.

  • 8/9/2019 L1 Linux Question

    2/3

    a. 1'1 b. 'root c. root d. 'home

    11-What is the default synta* of command used in 0inu*.

    a. command 2options3 argument

    b. command argument 2options3c. 2options3 command argument

    d. argument command 2options3

    12-What is uid and gid of root.

    a. """ b. ""

    c. ! d. "

    13 Which one of them used to define user5s home directory.

    a. , b. c. 7d. )

    14-What is the default shell of 0inu*?

    a. 'bin'sh b. 'bin'ksh

    c. 'bin'tcsh d. 'bin'bash

    15-What is the location of document pages?

    a. 'usr'share'doc b.'(ar'named'chroot

    b. 'home d.'usr'sbin

    16-8rom which uid and gid number do other users5 uidgidstart ?

    a.-"" b."

    c."" d.!"""

    17-What is the name of kernel file.

    a. initrd b. (mlinuz

    c. resol(.confd. ifcfgeth"

    18-What is the id of swap partition?

    a. 9: b.

    c. 9e d. 9#

    19-Which command is used to change the mode'permission of a file or;irectory.

    a. chgrp b.chown

    c. chmod d.chfn

    20-Which command is used to change the user owner as well as the

  • 8/9/2019 L1 Linux Question

    3/3

    a. chmod b. chgrp

    c. chown d. chage

    21-What is the command synta* is used to create an l(m by using

    /(ailable=> .

    a. l(create l 2nopeusedtocreatel(m3 n l(name(gnameb. l(create 0 2nopeusedtocreatel(m3 n l(name(gname

    c. l(create = 2nopeusedtocreatel(m3 n l(name(gname

    d. l(create 2nopeusedtocreatel(m3 n l(name(gname

    22-Which command is used to add a user into an group.

    a. usermod < groupname username

    b. chgrp< groupname username

    c. gropuadd < groupname username

    d. groupmod < groupname username

    23-Which command is used to 1on1 a ser(ice.

    a. ser(ice ser(icename on b. chkconfig ser(icename on

    c. ser(ice on serr(icename c. chkconfig on ser(icename

    24-Which utility in 0inu* used for archi(ing.

    a. tar b. bzip#

    c. gzip d. bunzip#

    25- Which command is used to display linu* mounted partition?

    a. df +h b. mount +a

    c. du +sh d. fdisk l