Unix/Lunux/Linux File Permissions MCQ Questions Answers Sample Test,Sample questions

Question:
 In which directory all device files are stored?

1.usr

2.bin

3.dev

4.etc


Question:
 Interrupts in Linux is handle by following files

1.Access file

2.Access file

3.hard disk file

4.Proc interrupts file


Question:
 the link counter of the file will increased by soft line .(T/F)

1.True

2.false

3.both a and b

4.none of these


Question:
-wxrwx-x is equivalent to

1.567

2.675

3.571

4.672


Question:
A swap partition is actually

1.Primary partition

2.Extended partition

3.Extended memory

4.Virtual memory


Question:
All run levels are stored in

1.etc/fstab

2.etc/init

3.etc/inittab

4.etc/rc.d


Question:
Default file system type of Linux is

1.etx

2.ext2

3.etx3

4.mimix


Question:
Device files have following two types?

1.Character & Block

2.Character & Socket

3. Block & FIFO

4.Input & output


Question:
Directory have following device special files?

1./etc

2./etc/dev

3./etc/bin

4./dev


Question:
Executable or binary files will be:

1.Device files

2.Regular files

3.Special files

4.Directory files


Question:
For a user _______ is an autoexec.bat equivalent file in Linux

1.bashrc

2. .bash_rc

3.bash_profile

4.bashprofile


Question:
Hidden file can be viewed using

1.ls -l

2.ls -a

3.ls -h

4.None of the above


Question:
If there is any problem with the command, the error is given by

1.Kernel

2.Shell

3.root

4. None of the above


Question:
In Linux a user can upload

1.UNIX

2.I/O Devices

3.Kernel Modules

4. File Base I/O


Question:
In practical, at the most _____ terminals can be opened at a time

1. 3

2. 6

3.10

4.12


Question:
init 6 is

1.Shutdown

2.Restart

3.Text mode

4.Graphics mode


Question:
On Linux which of the following is not a valid file type

1.Socket

2.Inode

3.Softlinked

4.FIFO


Question:
Password is applied using

1.psswd

2.pssword

3.uerpasswd

4. passwd username


Question:
Samba is actually a

1.Share

2. File server

3.File

4.None of the above


Question:
The command to check a partition is

1.fsck

2.fstab

3.fdisk

4.diskdruid


Question:
The command to view the partition information is

1.fsck

2.fstab

3.fdisk

4.diskdruid


Question:
The core of Linux OS is also called

1.Kernel

2.Shell

3.root

4.bash


Question:
The dictonery is removed by using which of the following command?

1.rdir

2.rd

3.rdr

4.rmdir


Question:
The directory file have:

1.File names & File location

2. File names & Inode Numbers

3.File names & Permissions

4.File names & Address


Question:
The Linux file system is created by using the following command

1.fsck

2.mkfs

3.mount

4.both b and c


Question:
The mounted partition information is stored in

1.etc/passwd

2.etc/fstab

3.etc/inittab

4.sbin/lilo


Question:
To change the ownership of a file use

1.chmod

2.chgrp

3.chown

4.change


Question:
To check if a service is running, the command is

1.Ntsysv

2.setup

3.etc/rc.d/init.d/service

4.etc/serice


Question:
To create multiple directories in one shot ________ is used

1.mkdir

2.mkdir -a

3.mkdir -p

4.mkdir -h


Question:
To get information about the Ethernet card, ___________ command is used

1.ipconfig

2.ifconfig

3.eth0

4.man Ethernet


Question:
To remove a directory which is not empty ____ is used

1.rmdir

2.rmdir-r

3. rm -r

4.rm


Question:
To search a pattern in a file _________ can be used

1.grep

2.egrep

3.find

4.search


Question:
To setup a Firewall, the command is

1.ntsysv

2.setup

3.etc/firewall

4.etc/install


Question:
To start graphics mode use

1. init 3

2.init 5

3. init 0

4.init 6


Question:
To unmount a filesystem ________ command is ised

1.Umount

2.unmount

3.dismount

4. mount -u


Question:
To view all the installed RPM packages use

1.rpm -qa

2.rpm -iv

3.rpm -h

4. rpm -I


Question:
User can be assigned to a group while creating the user. The command for this is

1.adduser -g

2.useradd -a

3.aduser -a

4. useradd -g


Question:
User passwords are stored in

1.etc/password

2.root/password

3.etc/passwd

4.root/passwd


Question:
wc -l will give the

1. Number of lines

2.Number of characters

3. Number of words

4. All of the above


Question:
Which is an example for CD-ROM?

1.Virtual Terminal

2.block special file

3.Terminal

4.Serial modem


Question:
Which is an example of Terminal?

1.CD-ROM

2.character special file

3.Memory

4.RAM


Question:
Which is not correct statement regarding file types?

1.Hard links share same inode number

2.Socket files are Unix domain sockets

3.Soft links cannot be created across partitions

4.Character file is a special file e) none of these


Question:
Which of the following command is used for removing the files?

1.escape

2.rm

3.dm

4.erase


Question:
Which of the following command is used to record session in Linux?

1.session

2.transcipt

3.script

4.both a and c


Question:
which of the following occurs for ln command?

1.a file is created that is a copy of an existing file

2.a file is moved from one location to another

3.a file is renamed

4.that points to an existing file is created by a file


Question:
Which of the following range of Linux system?

1.20 ot 0

2.20 to 0

3.20 to 19

4.0 to 19


Question:
__ is used to change the file/folder permission

1.chown

2.chmod

3.mod

4.chgrp


Question:
___ gives information about an user

1.who

2.who am i

3.who -i

4. None of the above


Question:
___ is used to rename files

1.ren

2.move

3.rename

4.mv


Question:
_____ will add contents to an existing file

1. cat > file

2.cat >> file

3.cat file | file1

4.at file > file1


More MCQS

  1. Unix MCQS Set 1
  2. Unix MCQS Set 2
  3. Unix MCQS Set 3
  4. Unix MCQS Set 4
  5. Linux Mcqs Questions Set 1
  6. Linux Mcqs Questions Set 2
  7. Linux Mcqs Questions Set 3
  8. Linux Mcqs Questions Set 4
  9. Linux Mcqs Questions Set 5
  10. Linux Mcqs Questions Set 6
  11. Linux Mcqs Questions Set 7
  12. Linux Mcqs Questions Set 8
  13. Linux Mcqs Questions Set 9
  14. Linux Mcqs Questions Set 10
  15. Linux Mcqs Questions Set 11
  16. Linux Mcqs Questions Set 12
  17. Linux Mcqs Questions Set 13
  18. Linux Mcqs Questions Set 14
  19. Unix MCQ Set 01
  20. Unix MCQ Set 02
  21. UNIX SYSTEM Mcq
  22. Unix MCQ
  23. Linux MCQ Unit 1
  24. Linux MCQ Unit 2
  25. LINUX MCQ QUESTIONS AND ANSWER
  26. Linux File Permissions MCQ Questions Answers
  27. Linux Administration MCQ question and answer
  28. Linux MCQ QUESTIONS AND ANSWER
Learn Linux File Permissions MCQ Questions Answers,Learn Unix/Lunux Objetive choice questions and answers,Unix/Lunux Multiple choice questions and answers,Unix/Lunux objective, Unix/Lunux questions , Unix/Lunux answers,Unix/Lunux MCQs questions and answer
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!