Home / CSE MCQs / Linux MCQs :: Basic Linux

CSE MCQs :: Linux MCQs

  1. Which is the only partition mounted in Single user mode
  2. A.
    boot
    B.
    usr
    C.
    root
    D.
    tmp

  3. Which daemon manages the physical memory by moving process from physical memory to swap space when more physical memory is needed.
  4. A.
    Sched daemon
    B.
    Swap daemon
    C.
    Init daemon
    D.
    Process daemon

  5. At the end of kernel bootstrap, which process is started?
  6. A.
    /etc/init
    B.
    /etc/sched
    C.
    /etc/swap
    D.
    /etc/kernel

  7. Which file is read by init to get the default runlevel
  8. A.
    /etc/profile
    B.
    /etc/init
    C.
    /etc/boot
    D.
    /etc/inittab

  9. Which one of the following statement is not true?
  10. A.
    vim editor is the improved version of vi editor
    B.
    vi editor commands are not case sensitive
    C.
    vi editor has two modes of operation: command mode and insert mode
    D.
    vi stands for visual editor

  11. Which one of the following statement is not true?
  12. A.
    vim editor is the improved version of vi editor
    B.
    vi editor commands are not case sensitive
    C.
    vi editor has two modes of operation: command mode and insert mode
    D.
    vi stands for visual editor

  13. Which command is used to close the vi editor?
  14. A.
    q
    B.
    wq
    C.
    both (a) and (b)
    D.
    none of the mentioned

  15. In vi editor, the key combination CTRL+f
  16. A.
    moves screen down one page
    B.
    moves screen up one page
    C.
    moves screen up one line
    D.
    moves screen down one line

  17. Which vi editor command copies the current line of the file?
  18. A.
    yy
    B.
    yw
    C.
    yc
    D.
    none of the mentioned

  19. Which command is used to delete the character before the cursor location in vi editor?
  20. A.
    X
    B.
    x
    C.
    D
    D.
    d