Sail E0 Webinar

MCQs

Total Questions : 155 | Page 11 of 16 pages
Question 101. Which one of the following statement is true?
  1.    autoindentation is not possible in vi editor
  2.    autoindentation can be set using the command ':set ai'
  3.    autoindentation can be set using the command ':set noai'
  4.    autoindentation is set by default in vi editor
 Discuss Question
Answer: Option B. -> autoindentation can be set using the command ':set ai'


autoindentation can be set using the command ':set ai'


Question 102. Which command searches the string in file opened in vi editor?
  1.    / or ?
  2.    f or F
  3.    t or T
  4.    none of the mentioned
 Discuss Question
Answer: Option A. -> / or ?


/ or ?The command '/' searches downward in the file and command '?' searches upward in the file.


Question 103. In vi editor, which command reads the content of another file?
  1.    read
  2.    r
  3.    ex
  4.    none of the mentioned
 Discuss Question
Answer: Option C. -> ex


ex


Question 104. Which command shows all the abbreviations in vi editor?
  1.    ab
  2.    abb
  3.    show
  4.    none of the mentioned
 Discuss Question
Answer: Option A. -> ab


ab


Question 105. Which command sets the number for all lines?
  1.    :set li
  2.    :set ln
  3.    :set nu
  4.    :set nl
 Discuss Question
Answer: Option C. -> :set nu


:set nu


Question 106. Which among the following is used to write small programs to control Unix functionalities?
  1.    Shell Commands
  2.    Shell Script
  3.    Filters
  4.    C Language
 Discuss Question
Answer: Option B. -> Shell Script


Shell Script


Question 107. At start of process execution, STDOUT & STDERR
  1.    Point to current terminal device
  2.    Are closed
  3.    Point to special files on the system
  4.    None of the above
 Discuss Question
Answer: Option A. -> Point to current terminal device


Point to current terminal device


Question 108. To increase the response time and throughput, the kernel minimizes the frequency of disk access by keeping a pool of internal data buffer called
  1.    Pooling
  2.    Spooling
  3.    Buffer cache
  4.    Swapping
 Discuss Question
Answer: Option C. -> Buffer cache


Buffer cache


Question 109. How do you get help about the command "cp?
  1.    help cp
  2.    man cp
  3.    cd ?
  4.    cd cp
 Discuss Question
Answer: Option B. -> man cp


man cp


Question 110. What control character signals the end of the input file?
  1.    ctrl + a
  2.    ctrl + b
  3.    ctrl + c
  4.    ctrl + d
 Discuss Question
Answer: Option D. -> ctrl + d


ctrl + d


Latest Videos

Latest Test Papers