Sail E0 Webinar

MCQs

Total Questions : 149 | Page 10 of 15 pages
Question 91. Which command is used with vi editor to move the cursor to the left?
  1.    h
  2.    j
  3.    None of these
  4.    k
  5.    i
 Discuss Question
Answer: Option A. -> h
Question 92. Which of command is used to copy a file?
  1.    None of these
  2.    copy
  3.    cpio
  4.    cp
  5.    tar
 Discuss Question
Answer: Option D. -> cp
Question 93. Which of the following commands is not the vi Input mode command?
  1.    R
  2.    rch
  3.    j
  4.    None of these
  5.    S
 Discuss Question
Answer: Option C. -> j
Question 94. The special shell variable $* is used
  1.    to list the positional parameters
  2.    to process number of the current shell
  3.    to exit status of ast command executed.
  4.    None of these
  5.    to name the command being executed
 Discuss Question
Answer: Option A. -> to list the positional parameters
Question 95. The cat command is used to
  1.    capture a file
  2.    display a file
  3.    print a file
  4.    None of these
  5.    copy a file
 Discuss Question
Answer: Option B. -> display a file
Question 96. Which of the following commands is used to remove files?
  1.    None of these
  2.    rm
  3.    dm
  4.    erase
  5.    delete
 Discuss Question
Answer: Option B. -> rm
Question 97. Which command is used with vi editor to save file and remain in the editing mode?
  1.    :x
  2.    q!
  3.    :q
  4.    None of these
  5.    :w
 Discuss Question
Answer: Option E. -> :w
Question 98. You can append to a file instead of overwriting by using the
  1.    None of these
  2.    > symbols
  3.    < symbols
  4.    >> symbols
 Discuss Question
Answer: Option D. -> >> symbols
Question 99. Which of the following commands is used to save the output of the who command in a file named user.lst, as well as display it?
  1.    who | tee user.lst
  2.    who < user.lste
  3.    who > user.lst
  4.    who >> user.lst
  5.    None of these
 Discuss Question
Answer: Option A. -> who | tee user.lst
Question 100. The [line number G] key allows you
  1.    to move cursor down by one line
  2.    to move cursor right by one position
  3.    None of these
  4.    to move cursor left by one position
  5.    to move cursor to the beginning of the line specified by the number
 Discuss Question
Answer: Option E. -> to move cursor to the beginning of the line specified by the number

Latest Videos

Latest Test Papers