Tag: operating systems

Questions Related to operating systems

  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 holds the number of values of comman line parameters

  1. $#

  2. $*

  3. $@

  4. $?


Correct Option: A
  1. Korn Matt

  2. Karthick Subramanian

  3. David Korn

  4. Kandasamy


Correct Option: C
  1. command << file

  2. command > file

  3. command <> file

  4. command >> file


Correct Option: D