Вы находитесь на странице: 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. 510 MB

c. 512 byte

d. 512 MB

4- How we can check the location of a binary.


a. ll<binaryname>
c. whatis<binaryname>

b. ls<binaryname>
d. which <binaryname>

5- What is the umask of root user.


a. 0000
b. 0002
c. 22
d. 0022
6- What is the use of /etc/inittabfile.
a. it contain filesystem information
b. it contain network information
c. it contaionrunlevel settings
d. it configuration of ssh server

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


chmod +x
directory
a.
b.
c.
d.

everyone get the permission of execute


only owner user get the permission of write
only the owner group get the permission of write
only other account get the permission of execute

8- How we can check the value of a variable.


a. echo variablename
b. echo +variable name
c. echo variablename
d. echo $variable name
9- What is the default permission of file if you are not working as
linux admin account.
a. 446
c. 664

b. 779
d. 644

10- What is name of home directory of Admin user in Linux.

a. "/"

b. /root

c. root

d. /home

11-What is the default syntax of command used in Linux.


a.
b.
c.
d.

command [options] argument


command argument [options]
[options] command argument
argument command
[options]

12- What is uid and gid of root.


a. 5000
c. 1

b. 500
d. 0

13- Which one of them used to define user's home directory.


a.

$ b. %

c.

~d. +

14- What is the default shell of Linux?


a. /bin/sh
c. /bin/tcsh

b. /bin/ksh
d. /bin/bash

15- What is the location of document pages?


a. /usr/share/doc
b. /home

b./var/named/chroot
d./usr/sbin

16- From which uid and gid number do other users' uidgidstart ?
a.700
c.500

b.0
d.1000

17- What is the name of kernel file.


a. initrd
b. vmlinuz
c. resolv.confd. ifcfg-eth0
18- What is the id of swap partition?
a. 83
c. 8e

b. 5
d. 82

19- Which command is used to change the mode/permission of a file or


Directory.
a. chgrp
c. chmod

b.chown
d.chfn

20- Which command is used to change the user owner as well as the
Group owner of an file or directory.

a. chmod
c. chown

b. chgrp
d. chage

21- What is the command syntax is used to create an lvm by using


AvailablePE .
a.
b.
c.
d.

lvcreate
lvcreate
lvcreate
lvcreate

-l
-L
-P
-C

[no-pe-used-to-create-lvm]
[no-pe-used-to-create-lvm]
[no-pe-used-to-create-lvm]
[no-pe-used-to-create-lvm]

-n
-n
-n
-n

lvnamevgname
lvnamevgname
lvnamevgname
lvnamevgname

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


a.
b.
c.
d.

usermod -G groupname username


chgrp-G groupname username
gropuadd -G groupname username
groupmod -G groupname username

23- Which command is used to "on" a service.


a. service service-name on
c. service on serrvice-name

b. chkconfig service-name on
c. chkconfig on service-name

24- Which utility in Linux used for archiving.


a. tar
c. gzip

b. bzip2
d. bunzip2

25- Which command is used to display linux mounted partition?


a. df h
b. mount a
c. du sh
d. fdisk -l

Вам также может понравиться