0

operating systems Online Quiz - 61

Description: operating systems Online Quiz - 61
Number of Questions: 20
Created by:
Tags: operating systems
Attempted 0/20 Correct 0 Score 0
  1. ls -lrt !cp:2

  2. ls -lrt !mv:1

  3. ls -lrt /media/mounted/ext/drive1/newmyfile.dat

  4. a and b will give "Command not found error" and c will work fine and all other options are incorrect.

  5. a,b and c will give correct results.


Correct Option: E

You are done using your external memory disk (say-KINSTON Pen disk) in Linux and you want to unmount it. But you get an error message like "umount: /media/KINGSTON: device is busy". Which of the following you can use to UNMOUNT IT SAFELY.

  1. Find the process that is using the drive and kill it safely.

  2. option a is correct and the following needs to be done to implement it: fuser /media/KINGSTON;fuser -k /media/KINGSTON; umount /media/KINGSTON

  3. Option a is incorrect and unsafe and you need to hard boot to solve this problem.

  4. Use a force option on unmount to acheive this : umount -F /media/KINSGTON

  5. a and b are correct.


Correct Option: E

You have purchased a dual processor quad-core server and you run the command "cat /proc/cpuinfo | grep processor | wc -l " what will be the output:

  1. 2

  2. 16

  3. 8

  4. a and b are incorrect. C is correct.

  5. a or c. result depends on other configuration of the system.


Correct Option: D

You have 5 mp3 files in a directory and you are planning to rename the all .mp3 files to .ogg files. Will the following Shell script acheive your goal ? for i in ls *.mp3; do mv $i $i.ogg done. Will the above script rename correctly and how many number of files will be present in the directory after execution of the script ?

  1. Yes. 0 files will be present

  2. No

  3. Yes. 5 file or more will be present.

  4. Yes. Only 5 files will be present.

  5. All the above are incorrect.


Correct Option: C

You have 5 mp3 files in a directory and you are planning to rename the all .mp3 files to .ogg files. Will the following Shell script acheive your goal ? for i in ls *.mp3; do mv $i $i.ogg done. Will the above script rename correctly and how many number of files will be present in the directory after execution of the script ?

  1. Yes. 0 files will be present

  2. No

  3. Yes. 5 file or more will be present.

  4. Yes. Only 5 files will be present.

  5. All the above are incorrect.


Correct Option: C

Repeat the last action

  1. F1

  2. F4 or CTRL + Y

  3. CTRL + D

  4. CTRL + E


Correct Option: B

Fill down the selection the same content of selected cell

  1. CTRL + D

  2. CTRL + E

  3. CTRL + Y

  4. CTRL + A


Correct Option: A

Enter the date

  1. ALT+= (EQUAL SIGN)

  2. CTRL + : (COLON)

  3. CTRL+; (SEMICOLON)

  4. CTRL+K


Correct Option: C

Enter the time

  1. ALT+= (EQUAL SIGN)

  2. CTRL+K

  3. CTRL + : (COLON)

  4. CTRL+SHIFT+: (COLON)


Correct Option: D

Repeat the last action

  1. F1

  2. CTRL + D

  3. F4 or CTRL + Y

  4. CTRL + E


Correct Option: C

Insert a hyperlink

  1. CTRL + E

  2. CTRL + Y

  3. CTRL+K

  4. CTRL + A


Correct Option: C
  1. CTRL + 0

  2. CTRL + C

  3. CTRL + 9

  4. CTRL + 1


Correct Option: A
  1. CTRL + 0

  2. CTRL + C

  3. CTRL + 9

  4. CTRL + 1


Correct Option: C

To open the format cells dialog box

  1. CTRL + 0

  2. CTRL + C

  3. CTRL + 9

  4. CTRL + 1


Correct Option: D

Short cut to apply date format with day, month and year

  1. CTRL + SHIFT + A

  2. CTRL + SHIFT + # (POUND)

  3. CTRL + D

  4. CTRL + SHIFT + D


Correct Option: B
  1. CTRL + SHIFT + $

  2. ALT + %

  3. CTRL + %

  4. CTRL + SHIFT + %


Correct Option: D

For debugging shell Scripts which command is used?

  1. set filename

  2. set -x

  3. set +x

  4. set ls -l


Correct Option: B

what are the system variables in unix?

  1. PATH variable

  2. HOME variable

  3. IFS variable

  4. All the above


Correct Option: D

which commans are used to manipulate the ownership of file or directory?

  1. chown

  2. chgrp

  3. both 1 & 2

  4. None of the above


Correct Option: C
  1. CTRL + SHIFT + )

  2. CTRL + SHIFT + (

  3. CTRL + (

  4. CTRL + U


Correct Option: A
- Hide questions