operating systems Online Quiz - 64

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

what is mobile phones version of linux OS by "The Linux Foundation" called ??

  1. LiMo

  2. Moblin

  3. Android

  4. WebOS

Correct Option: B

Which directory under the root contains the information on devices

  1. /usr/bin

  2. /usr/sbin

  3. /usr/peripherals/dev

  4. /etc/dev

Correct Option: D

Which directory under the root contains the information on devices

  1. /usr/bin

  2. /usr/sbin

  3. /usr/peripherals/dev

  4. /etc/dev

Correct Option: D
  1. Every one can read, group can execute only and the owner can read and write

  2. Every one can read and write, but owner alone can execute

  3. Every one can read, group including owner can write, owner alone can execute

  4. None

Correct Option: C

What is a system call()

  1. A request by the users to access kernel functions

  2. A request by kernel to the device

  3. A request by the device to kernel

  4. None

Correct Option: A
  1. A mechanism to connect to printer, keyboard and monitor in linux

  2. A mechanism to share printer across users

  3. A request made by the device to linux kernel

  4. None

Correct Option: B

How to sort a file in decending order

  1. sort -d

  2. sort

  3. sort -r

  4. sort -R

Correct Option: C
  1. A Pipe used by kernel to access device

  2. A pipe to be used by the user to access device

  3. An abstraction to provide support for inter process communication

  4. A device

Correct Option: C

Count the number of errors in the statement if [password = password1] then echo password else password

  1. 0

  2. 4

  3. 1

  4. 2

Correct Option: B

What is the purpose of sync command?

  1. To synchronize user applications

  2. To synchronize keyboard and monitor

  3. To synchornize disk buffers

  4. To syschronize main memory and cache memory

Correct Option: C
  1. Printer users

  2. Not allowed to login using rlogin/ssh

  3. root users

  4. User id cannot be 0

Correct Option: C

What does the command umask 123 do?

  1. It sets file owner permissions to read and write

  2. It sets the permissions of other users to read

  3. It sets group permissions to read and execute

  4. All of them

Correct Option: D

Which command will create a hard link named "Link" to the "Test" file?

  1. ln -s Test Link

  2. ln Test Link

  3. ln / Link Test

  4. ln -h Link Test

Correct Option: B

Which group of letters are the file permissions that apply to a group in the string r--r-xrwx?

  1. r--

  2. r -x

  3. rwx

  4. None

Correct Option: B

What Linux file would you use when performing a rescue after a hard disk problem occurs?

  1. /dev/hda1

  2. /dev/null

  3. /dev/ram

  4. /dev/tty

Correct Option: A

Which command do you use to make the /etc/inputrc file immutable?

  1. chattr +i /etc/inputrc

  2. chmod 666 inputrc

  3. chmod g=rw inputrc

  4. None

Correct Option: A

What do you use the rp field in the /etc/printcap file to specify?

  1. A remote machine address

  2. A printer on a remote machine

  3. A remote printer address

  4. Both a printer and a remote machine

Correct Option: B

Which of these commands finds all lines on which the word "Linux" occurs and then deletes them in vi editor

  1. g:Linux/d

  2. :g/Linux/d

  3. g/d/Linux

  4. Linux/:g/d

Correct Option: B

How do I uncompress a file?

  1. gunzip/expand

  2. gzip

  3. zip

  4. winzip

Correct Option: A

How do I tar/untar a file?

  1. tar -cvf file/tar -xvf file

  2. tar -xvf file /tar -cvf file

  3. tar -cvf file.tar /tar -xvf file.tar /

  4. tar -xvf file.tar /tar -cvf file.tar /

Correct Option: C
- Hide questions