0

operating systems Online Quiz - 86

Description: operating systems Online Quiz - 86
Number of Questions: 20
Created by:
Tags: operating systems
Attempted 0/20 Correct 0 Score 0
  1. command << file

  2. command > file

  3. command <> file

  4. command >> file


Correct Option: D

How can you display list of all files, including the hidden files?

  1. find -a

  2. ls -a

  3. find all

  4. ls -l


Correct Option: B
  1. touch filename

  2. cat filename

  3. less filename

  4. create filename


Correct Option: A

Which command is used to modify the access time of a file?

  1. chmod

  2. touch

  3. chown

  4. mtime


Correct Option: B

vim editor uses which hidden file for configuration settings

  1. .bashrc

  2. .exrc

  3. .usrc

  4. .vimrc


Correct Option: D

Which command is used to display all the files?

  1. ls

  2. cat

  3. ls -a

  4. type

  5. dir


Correct Option: C

Which command is used to modify the access time of a file?

  1. chmod

  2. chown

  3. touch

  4. cd

  5. grep


Correct Option: C

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
  1. echo $shell

  2. ls $shell

  3. view $shell

  4. cat $shell

  5. show $shell


Correct Option: A

How do you stop a process?

  1. kill pid

  2. stop pid

  3. abort pid

  4. exit pid

  5. None of the above


Correct Option: A

You need to see the last fifteen lines of a file. What command should you use?

  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
- Hide questions