0

operating systems Online Quiz - 87

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

What is VI?

  1. A text editor

  2. The UNIX telnet service

  3. An E-mail client

  4. An FTP client


Correct Option: A

How do you create a new directory called "flower"?

  1. newdir flower

  2. mkdir flower

  3. crdir flower

  4. makedir flower


Correct Option: A

With what can you stop a process?

  1. Shutdown

  2. stop

  3. kill

  4. delete


Correct Option: C
  1. Empty the existing file or create an empty file

  2. Print the string : to filename

  3. Delete the file

  4. Append the file at the last line


Correct Option: A
  1. display the number of Zombie process in the system

  2. set the time zone

  3. set the time for zip process

  4. display the last test condition result


Correct Option: A

filename=sample.txtfile=${filename%.*}echo $file$file now contains

  1. txt

  2. sample

  3. .txt

  4. sample.


Correct Option: A

How to call the function function1 in shell

  1. function1()

  2. call function1

  3. function1

  4. ask function1


Correct Option: A

The Command :>filename is used to

  1. Empty the existing file or create an empty file

  2. Print the string : to filename

  3. Delete the file

  4. Append the file at the last line


Correct Option: A

The Default variable $TZ is used to

  1. display the number of Zombie process in the system

  2. set the time zone

  3. set the time for zip process

  4. display the last test condition result


Correct Option: B
  1. function1()

  2. call function1

  3. function1

  4. ask function1


Correct Option: C
  1. filename=basename Mypath

  2. filename =file Mypath

  3. filename = ${Mypath#///}

  4. echo $Mypath | awk ‘ FS=”/” { print $4 } ‘


Correct Option: A,C,D

Which variable contains the return value of last executed command

  1. $!

  2. $?

  3. $#

  4. $@


Correct Option: B

Which variable holds the values of command line parameters

  1. $#

  2. $*

  3. $@

  4. $?


Correct Option: B

ksh shell was developed by

  1. Korn Matt

  2. Karthick Subramanian

  3. David Korn

  4. Kandasamy


Correct Option: C
- Hide questions