Home / CSE / Learning Linux :: Section 2

CSE :: Learning Linux

  1. The location for subdirectories for local programs and executables for user and administrative commands, is:

  2. A.
    /usr
    B.
    /tmp
    C.
    /opt
    D.
    /mnt
    E.
    None of the above

  3. Which of the following is not a filter command?

  4. A.
    sort
    B.
    wc
    C.
    grep
    D.
    cat
    E.
    None of the above

  5. What command is used to display a file contents in octal form?

  6. A.
    oct
    B.
    of
    C.
    od
    D.
    cd
    E.
    None of the above

  7. What command is used to assign executable permission to all of the files named "report"?

  8. A.
    chmod ugo + x report
    B.
    chmod u + x report
    C.
    chmod ugo + rw report
    D.
    chmod ugo + r report
    E.
    None of the above

  9. What command is used to change the working directory?

  10. A.
    cdir
    B.
    chdir
    C.
    changedir
    D.
    cd
    E.
    None of the above

  11. What command is used to count the number of files in the current directory by using pipes?

  12. A.
    ls | ws - c
    B.
    ls | wc - w
    C.
    ls | wc - l
    D.
    ls | wc
    E.
    None of the above

  13. What command is used to count just the number of characters in a file?

  14. A.
    wc - r
    B.
    wc - w
    C.
    wc - c
    D.
    wc - 1
    E.
    None of the above

  15. How many class A, B and C network IDs can exist?

  16. A.
    128
    B.
    126
    C.
    16,382
    D.
    2,113,658
    E.
    None of the above

  17. LILO

  18. A.
    stands for Linux loader
    B.
    is the Linux boot loader
    C.
    is a tool used to boot the Kernel on x86 hardware
    D.
    All of the above
    E.
    None of the above

  19. How can you rebuild the RPM file to include the new patches?

  20. A.
    - - recompile
    B.
    - - rebuild
    C.
    - - generate
    D.
    - - execute
    E.
    None of the above