Tag: operating systems

Questions Related to operating systems

What is the maximum number of Parameters that can be passed to the shell script so that your script can read those parameters for processing ?

  1. 3 parameters and it can be accessed using the variable $3

  2. 9 parameters and it can be accessed using the variable &9

  3. Any number of parameters ( no limit ) and these parameters can be accessed using 'shift' in the script

  4. Any number of parameters ( no limit ) and these parameters can be accessed using 'Case' Statements in the script


Correct Option: C

Which of the following is the command to delete continuous repeated entry from history ( Command should not erase all duplicates across the whole history)?

  1. HISTCONTROL=ignorespace

  2. HISTCONTROL=erasedups

  3. HISTCONTROL=erasealldups

  4. HISTCONTROL=ignoredups


Correct Option: D
  1. James A. Gosling

  2. Dennis MacAlistair Ritchie

  3. Andrew S. Tanenbaum

  4. Ken Thompson


Correct Option: C
  1. Sun UNIX

  2. SuriyaOS

  3. SparcOS

  4. Solaris


Correct Option: D