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

Posted Date:-2024-01-30 13:29:34


Question:
 Interrupts in Linux is handle by following files

1.Access file

2.Access file

3.hard disk file

4.Proc interrupts file

Posted Date:-2024-01-30 13:30:41


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

Posted Date:-2024-01-30 13:24:35


Question:
-wxrwx-x is equivalent to

1.567

2.675

3.571

4.672

Posted Date:-2024-01-30 13:42:43


Question:
A swap partition is actually

1.Primary partition

2.Extended partition

3.Extended memory

4.Virtual memory

Posted Date:-2024-01-30 13:37:37


Question:
All run levels are stored in

1.etc/fstab

2.etc/init

3.etc/inittab

4.etc/rc.d

Posted Date:-2024-01-30 13:36:11


Question:
Default file system type of Linux is

1.etx

2.ext2

3.etx3

4.mimix

Posted Date:-2024-01-30 13:36:55


Question:
Device files have following two types?

1.Character & Block

2.Character & Socket

3. Block & FIFO

4.Input & output

Posted Date:-2024-01-30 13:28:03


Question:
Directory have following device special files?

1./etc

2./etc/dev

3./etc/bin

4./dev

Posted Date:-2024-01-30 13:26:34


Question:
Executable or binary files will be:

1.Device files

2.Regular files

3.Special files

4.Directory files

Posted Date:-2024-01-30 13:25:29


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

1.bashrc

2. .bash_rc

3.bash_profile

4.bashprofile

Posted Date:-2024-01-30 13:48:36


Question:
Hidden file can be viewed using

1.ls -l

2.ls -a

3.ls -h

4.None of the above

Posted Date:-2024-01-30 13:42:20


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

Posted Date:-2024-01-30 13:45:35


Question:
In Linux a user can upload

1.UNIX

2.I/O Devices

3.Kernel Modules

4. File Base I/O

Posted Date:-2024-01-30 13:30:11


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

1. 3

2. 6

3.10

4.12

Posted Date:-2024-01-30 13:46:57


Question:
init 6 is

1.Shutdown

2.Restart

3.Text mode

4.Graphics mode

Posted Date:-2024-01-30 13:47:53


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

1.Socket

2.Inode

3.Softlinked

4.FIFO

Posted Date:-2024-01-30 13:26:55


Question:
Password is applied using

1.psswd

2.pssword

3.uerpasswd

4. passwd username

Posted Date:-2024-01-30 13:38:28


Question:
Samba is actually a

1.Share

2. File server

3.File

4.None of the above

Posted Date:-2024-01-30 13:39:55


Question:
The command to check a partition is

1.fsck

2.fstab

3.fdisk

4.diskdruid

Posted Date:-2024-01-30 13:41:14


Question:
The command to view the partition information is

1.fsck

2.fstab

3.fdisk

4.diskdruid

Posted Date:-2024-01-30 13:49:03


Question:
The core of Linux OS is also called

1.Kernel

2.Shell

3.root

4.bash

Posted Date:-2024-01-30 13:45:14


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

1.rdir

2.rd

3.rdr

4.rmdir

Posted Date:-2024-01-30 13:32:16


Question:
The directory file have:

1.File names & File location

2. File names & Inode Numbers

3.File names & Permissions

4.File names & Address

Posted Date:-2024-01-30 13:26:09


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

1.fsck

2.mkfs

3.mount

4.both b and c

Posted Date:-2024-01-30 13:31:03


Question:
The mounted partition information is stored in

1.etc/passwd

2.etc/fstab

3.etc/inittab

4.sbin/lilo

Posted Date:-2024-01-30 13:46:04


Question:
To change the ownership of a file use

1.chmod

2.chgrp

3.chown

4.change

Posted Date:-2024-01-30 13:44:52


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

Posted Date:-2024-01-30 13:38:02


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

1.mkdir

2.mkdir -a

3.mkdir -p

4.mkdir -h

Posted Date:-2024-01-30 13:41:57


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

1.ipconfig

2.ifconfig

3.eth0

4.man Ethernet

Posted Date:-2024-01-30 13:47:22


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

1.rmdir

2.rmdir-r

3. rm -r

4.rm

Posted Date:-2024-01-30 13:50:18


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

1.grep

2.egrep

3.find

4.search

Posted Date:-2024-01-30 13:41:35


Question:
To setup a Firewall, the command is

1.ntsysv

2.setup

3.etc/firewall

4.etc/install

Posted Date:-2024-01-30 13:46:35


Question:
To start graphics mode use

1. init 3

2.init 5

3. init 0

4.init 6

Posted Date:-2024-01-30 13:39:11


Question:
To unmount a filesystem ________ command is ised

1.Umount

2.unmount

3.dismount

4. mount -u

Posted Date:-2024-01-30 13:49:44


Question:
To view all the installed RPM packages use

1.rpm -qa

2.rpm -iv

3.rpm -h

4. rpm -I

Posted Date:-2024-01-30 13:38:50


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

Posted Date:-2024-01-30 13:39:33


Question:
User passwords are stored in

1.etc/password

2.root/password

3.etc/passwd

4.root/passwd

Posted Date:-2024-01-30 13:35:42


Question:
wc -l will give the

1. Number of lines

2.Number of characters

3. Number of words

4. All of the above

Posted Date:-2024-01-30 13:44:09


Question:
Which is an example for CD-ROM?

1.Virtual Terminal

2.block special file

3.Terminal

4.Serial modem

Posted Date:-2024-01-30 13:28:56


Question:
Which is an example of Terminal?

1.CD-ROM

2.character special file

3.Memory

4.RAM

Posted Date:-2024-01-30 13:28:26


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

Posted Date:-2024-01-30 13:27:28


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

1.escape

2.rm

3.dm

4.erase

Posted Date:-2024-01-30 13:31:38


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

1.session

2.transcipt

3.script

4.both a and c

Posted Date:-2024-01-30 13:32:38


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

Posted Date:-2024-01-30 13:25:06


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

Posted Date:-2024-01-30 13:33:05


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

1.chown

2.chmod

3.mod

4.chgrp

Posted Date:-2024-01-30 13:51:09


Question:
___ gives information about an user

1.who

2.who am i

3.who -i

4. None of the above

Posted Date:-2024-01-30 13:51:34


Question:
___ is used to rename files

1.ren

2.move

3.rename

4.mv

Posted Date:-2024-01-30 13:50:47


Question:
_____ will add contents to an existing file

1. cat > file

2.cat >> file

3.cat file | file1

4.at file > file1

Posted Date:-2024-01-30 13:49:23


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
Search
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!