Tag: operating systems

Questions Related to operating systems

How do we configure vim editor to automatically add numbers to the file when it opens?

  1. se nu

  2. se bs

  3. se history

  4. se noai

  5. se nonu


Correct Option: A

Which command is used to view the file without modifying it?

  1. view

  2. cat

  3. more

  4. head

  5. tail


Correct Option: B
  1. echo $shell

  2. ls $shell

  3. view $shell

  4. cat $shell

  5. show $shell


Correct Option: A
  1. kill pid

  2. stop pid

  3. abort pid

  4. exit pid

  5. None of the above


Correct Option: A
  1. tail -15 filename

  2. head -15 filename

  3. zcat -15 filename

  4. All of the above

  5. None of the above


Correct Option: A
  1. mkdir flower

  2. makedir flower

  3. newdir flower

  4. crdir flower


Correct Option: A