0

operating systems Online Quiz - 59

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

What is the command used for defining a shell variable?

  1. setenv

  2. setexp

  3. set

  4. unset


Correct Option: C
  1. *This is commented

  2. //This is commented

  3. #This is commented

  4. #/This is commented


Correct Option: C

What is the output? #!/bin/sh msg1="one" Msg2="$msg1 two" Msg3="$msg2 three" echo $msg3

  1. “””one” two” three”

  2. “one two three”

  3. one two three

  4. “$msg2 three”


Correct Option: C
  1. *This is commented

  2. //This is commented

  3. #This is commented

  4. #/This is commented


Correct Option: C
  1. The date output is redirected to the file.

  2. The date output is redirected and appended to the end of the file.

  3. The date output is redirected and appended to the beginning of the file.

  4. None of the above


Correct Option: B

What is the output? #!/bin/sh msg1="one" Msg2="$msg1 two" Msg3="$msg2 three" echo $msg3

  1. “””one” two” three”

  2. “one two three”

  3. one two three

  4. “$msg2 three”


Correct Option: C

What is the command used for changing the scope of a shell variable to a global variable?

  1. global

  2. shell

  3. export

  4. None of the above


Correct Option: C

What is the command used for defining a shell variable?

  1. setenv

  2. setexp

  3. set

  4. unset


Correct Option: C
  1. Windows 2003 Server

  2. Windows 2000 Server

  3. Windows 2008 Server

  4. Windows 2003 Server R2


Correct Option: B

What was Active Directory called in older Microsoft documents?

  1. SIDS

  2. DTDS

  3. NTDS

  4. UIDS


Correct Option: C

Everything that 'Active Directory' tracks is considered an

  1. Object

  2. Tree

  3. Domain

  4. Forest


Correct Option: A

The objects held within a domain can be grouped into containers called

  1. Sites

  2. Tree

  3. Organizational Units (OUs)

  4. Trusts


Correct Option: C

Which command is used to delete all files in the current directory and all its sub-directories?

  1. go to particular directory and type rm -rf

  2. go to particular directory and type rm*

  3. go to particular directory and type *rm -rf

  4. go to particular directory and type rm -rf*


Correct Option: D
  1. go to particular directory and type rm -rf

  2. go to particular directory and type rm*

  3. go to particular directory and type rm -rf*

  4. go to particular directory and type *rm -rf


Correct Option: C
  1. go to particular directory and type rm -rf

  2. go to particular directory and type rm*

  3. go to particular directory and type rm -rf*

  4. go to particular directory and type *rm -rf


Correct Option: C
- Hide questions