Home / CSE MCQs / Linux MCQs :: Basic Linux

CSE MCQs :: Linux MCQs

  1. Which one of the following statement is true?
  2. A.
    autoindentation is not possible in vi editor
    B.
    autoindentation can be set using the command ':set ai'
    C.
    autoindentation can be set using the command ':set noai'
    D.
    autoindentation is set by default in vi editor

  3. Which command searches the string in file opened in vi editor?
  4. A.
    / or ?
    B.
    f or F
    C.
    t or T
    D.
    none of the mentioned

  5. In vi editor, which command reads the content of another file?
  6. A.
    read
    B.
    r
    C.
    ex
    D.
    none of the mentioned

  7. Which command shows all the abbreviations in vi editor?
  8. A.
    ab
    B.
    abb
    C.
    show
    D.
    none of the mentioned

  9. Which command sets the number for all lines?
  10. A.
    :set li
    B.
    :set ln
    C.
    :set nu
    D.
    :set nl