0

operating systems Online Quiz - 12

Description: operating systems Online Quiz - 12
Number of Questions: 20
Created by:
Tags: operating systems
Attempted 0/20 Correct 0 Score 0

Which command is used to see the disk volume label?

  1. Ver

  2. Vol

  3. Version

  4. Volume


Correct Option: B

Which command is used to see the version?

  1. Ver

  2. Version

  3. Verson

  4. None of the above


Correct Option: A

What will be the output of the command prompt $l$p$g?

  1. C:>

  2. C:>>

  3. C:


Correct Option: A

Which among the following are the best tools for fixing errors on disks?

  1. Fdisk

  2. Scandisk

  3. Chkdsk

  4. Fixdsk


Correct Option: B
  1. Del .txt

  2. Erase .txt

  3. Del *.txt

  4. Del ./p


Correct Option: C
Explanation:

To solve this question, the user needs to know the correct command to delete all files with a certain file extension.

Now, let's go through each option and explain why it is right or wrong:

A. Del .txt: This command will not work as it deletes only files with the exact name ".txt", not all files with the ".txt" extension.

B. Erase .txt: This command will not work as it deletes only files with the exact name ".txt", not all files with the ".txt" extension.

C. Del *.txt: This command is correct. It will delete all files with the ".txt" extension.

D. Del ./p: This command is incorrect. The "/p" option is not a valid option for the "del" command, and the command does not specify which file extension to delete.

Therefore, the correct answer is:

The Answer is: C

Which command is used to undelete delete a bunch of files with extension doc that you have just deleted

  1. Undelete

  2. Undelete *.doc

  3. Undelete/all

  4. All of the above


Correct Option: B

How do you close a if block in unix shellscript?

  1. end if

  2. }

  3. fi

  4. #


Correct Option: C

which of the following command shows ALL the content of a directory in unix/GNUlinux

  1. ls -l

  2. ls

  3. ls -a

  4. dir


Correct Option: C

how do we make a file hidden in unix?

  1. prefix the name of file with a '.'

  2. prefix the name of file with a '~'

  3. by changing its permissions

  4. Any of the Above


Correct Option: A
- Hide questions