Unix/Lunux/LINUX MCQ QUESTIONS AND ANSWER Sample Test,Sample questions

Question:
 How do you display the last ten lines of a file in Linux?

1.bottom

2.last

3.tail

4.end

Posted Date:-2024-01-30 12:42:05


Question:
 If the page size increases, the internal fragmentation is also?..?

1.Decreases

2.Increases

3.Remains constant

4.None of these

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


Question:
 When you delete a file in your computer, where does it go?

1.Recycle bin

2.Hard disk

3.Taskbar

4.None of these

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


Question:
 Which command displays a file's type?

1.showtype

2.displaytype

3.cattype

4.file

Posted Date:-2024-01-30 12:40:00


Question:
 Which is the Linux operating system?

1.Private operating system

2.Windows operating system

3.Open-source operating system

4.None of these

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


Question:
Banker's algorithm is used?

1.To prevent deadlock

2.To deadlock recovery

3.To solve the deadlock

4.None of these

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


Question:
BIOS is used?

1.By operating system

2.By compiler

3.By interpreter

4.By application software

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


Question:
How do you display your Linux system information?

1.info

2.uname -a

3.version

4.details

Posted Date:-2024-01-30 12:42:49


Question:
How do you list the hidden files in a directory?

1.ls

2.ls -a

3.dir /hidden

4. ls -h

Posted Date:-2024-01-30 12:38:39


Question:
How do you print the first 10 lines of a file named 'file.txt'?

1.head -10 file.txt

2.first -10 file.txt

3.cat -10 file.txt

4. print -10 file.txt

Posted Date:-2024-01-30 12:39:36


Question:
How do you search for a specific word within a file?

1.lookup

2.grep

3.seek

4.findword

Posted Date:-2024-01-30 12:54:18


Question:
How would you compress files using the Linux command line?

1.compress

2.minify

3.gzip

4.squeeze

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


Question:
If you want to repeat the last command in Linux, what would you type?

1.replay

2.!!

3.repeat

4.redo

Posted Date:-2024-01-30 12:54:46


Question:
The size of virtual memory is based on which of the following?

1.CPU

2.RAM

3.Address bus

4.Data bus

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


Question:
What command can replace characters in a file?

1.rep

2.change

3.sed

4.swap

Posted Date:-2024-01-30 12:44:36


Question:
What does the command chmod 777 filename do?

1.Changes the owner of the file

2.Deletes the file

3.Gives read, write, and execute permissions to everyone for that file

4.Hides the file

Posted Date:-2024-01-30 12:41:22


Question:
What does the man command do?

1.Manages directories

2.Provides documentation or manual pages

3.Manages users

4.Monitors system performance

Posted Date:-2024-01-30 12:43:43


Question:
What else is a command interpreter called?

1.prompt

2.kernel

3.shell

4.command

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


Question:
What is bootstrapping called?

1.Cold boot

2.Cold hot strap

3.Hot boot

4.Cold hot strap

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


Question:
What is the command to search for a pattern in a file?

1.search

2.find

3.grep

4.locate

Posted Date:-2024-01-30 12:40:27


Question:
What is the default shell in Linux?

1.bash

2.sh

3.ksh

4.csh

Posted Date:-2024-01-30 12:37:47


Question:
What is the default shell in Linux?

1.bash

2.sh

3.ksh

4.csh

Posted Date:-2024-01-30 12:37:47


Question:
What is the fence register used for?

1.To disk protection

2.To CPU protection

3.To memory protection

4.None of these

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


Question:
What is the full name of FAT?

1.File attribute table

2.File allocation table

3.Font attribute table

4.Format allocation table

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


Question:
What is the full name of the DSM?

1.Direct system module

2.Direct system memory

3.Demoralized system memory

4.Distributed shared memory

Posted Date:-2024-01-30 13:07:19


Question:
What is the full name of the IDL?

1.Interface definition language

2.Interface direct language

3.Interface data library

4.None of these

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


Question:
What is the mean of the Booting in the operating system?

1.Restarting computer

2.Install the program

3.To scan

4.To turn off

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


Question:
What is the primary role of the sudo command?

1.To run processes in the background

2. To provide manual pages for commands

3.To execute a command as another user, typically the superuser

4.To search for files in a directory

Posted Date:-2024-01-30 12:45:22


Question:
What is the purpose of the ls command?

1.To list the processes running on the system

2. To show the file size of a given file

3. To display the contents of a file

4.To list files in a directory

Posted Date:-2024-01-30 12:53:37


Question:
When does page fault occur?

1.The page is present in memory.

2.The deadlock occurs.

3.The page does not present in memory.

4.The buffering occurs.

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


Question:
When were MS windows operating systems proposed?

1.1994

2.1990

3.1992

4.1985

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


Question:
Which command can you use to change the permissions of a file?

1.chown

2.chmod

3.chgroup

4.chperm

Posted Date:-2024-01-30 12:56:00


Question:
Which command is used to create a symbolic link?

1.symb

2.link

3.ln

4.connect

Posted Date:-2024-01-30 12:42:25


Question:
Which command is used to display the contents of a file?

1.show

2.display

3.print

4.cat

Posted Date:-2024-01-30 12:36:22


Question:
Which command is used to find files in a directory?

1.locate

2.search

3.find

4.list

Posted Date:-2024-01-30 12:41:43


Question:
Which command is used to see the running processes in Linux?

1.process

2.run

3.top

4.exec

Posted Date:-2024-01-30 12:40:48


Question:
Which command is used to stop a process in Linux?

1.stop

2.halt

3.kill

4.terminate

Posted Date:-2024-01-30 12:43:10


Question:
Which command shows disk usage?

1. du

2.disk

3.space

4.usage

Posted Date:-2024-01-30 12:44:58


Question:
Which command will display the current working directory?

1.pwd

2.cwd

3.dir

4.list

Posted Date:-2024-01-30 12:38:08


Question:
Which of the following is a condition that causes deadlock?

1.Mutual exclusion

2.Hold and wait

3.Circular wait

4.All of these

Posted Date:-2024-01-30 13:17:59


Question:
Which of the following is a single-user operating system?

1.Windows

2.MAC

3.Ms-Dos

4.None of these

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


Question:
Which of the following is the extension of Notepad?

1..txt

2.xls

3.ppt

4.bmp

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


Question:
Which of the following is the Linux command to change directories?

1.chdir

2.move

3.cd

4.dirchg

Posted Date:-2024-01-30 12:37:22


Question:
Which of the following operating systems does not support more than one program at a time?

1.Linux

2.Windows

3.MAC

4.DOS

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


Question:
Which of the following supports Windows 64 bit?

1.Window XP

2.Window 2000

3.Window 1998

4.None of these

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


Question:
Which of the following windows does not have a start button?

1.Windows 7

2.Windows 8

3.Windows XP

4.None of these

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


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!