Home / CSE / Learning Linux :: Section 3

CSE :: Learning Linux

  1. To build a modularized kernel, the kernel-headers and kernel-source packages must first be installed. Where will you find the kernel-headers and kernel-source?

  2. A.
    /usr/local
    B.
    /usr/src/linux
    C.
    /usr/sre/redhat
    D.
    /usr/bin
    E.
    None of the above

  3. After you have compiled your kernel, what do you have to edit to boot your new kernel image?

  4. A.
    /boot/lilo.conf
    B.
    /etc/conf.modules
    C.
    /etc/named.boot
    D.
    /etc/lilo.conf
    E.
    None of the above

  5. To create an installation boot floppy disk from Linux (or another Unix) machine, what command could you use?

  6. A.
    fdisk
    B.
    fsck
    C.
    dd
    D.
    rawrite
    E.
    None of the above

  7. You just added a new user, kara, to the system. What group is kara added to by default?

  8. A.
    root
    B.
    kara
    C.
    group
    D.
    user
    E.
    None of the above

  9. What are the appropriate Hex codes for setting Linux swap and Linux native partition types in fdisk?

  10. A.
    82 and 83
    B.
    92 and 93
    C.
    63 and 64
    D.
    82 and 85
    E.
    None of the above

  11. What command do you use to delete a file?

  12. A.
    rename
    B.
    delete
    C.
    rm
    D.
    cp
    E.
    None of the above

  13. Which of the following command lists the last 10 lines of a file?

  14. A.
    grep
    B.
    tail
    C.
    head
    D.
    cat
    E.
    None of the above

  15. What command is used to terminate a process?

  16. A.
    kill
    B.
    cancel
    C.
    haltsys
    D.
    shutdown
    E.
    None of the above

  17. What command is used with vi editor to delete three words?

  18. A.
    3$d
    B.
    3 dw
    C.
    3 x
    D.
    3 dd
    E.
    None of the above

  19. What command is used to assign only read permission to all three categories of the file'letter'?

  20. A.
    chmod u + r, g + r, o - x letter
    B.
    chmod ugo = r letter
    C.
    chmod a - rw letter
    D.
    chmod go + r letter
    E.
    None of the above