Home / Computer Science / Unix & Linux Basics :: section-1

Computer Science :: Unix & Linux Basics

  1. Which of the following format of partition tables does Linux use?

  2. A.

     Linux

    B.

     BSD

    C.

     UnixWare

    D.

     DOS

    E.

     None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. Which of the following NIS clients returns the name of the NIS server used by the NIS client?

  4. A.

     ypwhich

    B.

     ypbind

    C.

     ypcat

    D.

     yppoll

    E.

     None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


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

  6. A.

     /usr

    B.

     /tmp

    C.

     /opt

    D.

     /mnt

    E.

     None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


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

  8. A.

     sort

    B.

     wc

    C.

     grep

    D.

     cat

    E.

     None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


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

  10. A.

     oct

    B.

     of

    C.

     od

    D.

     cd

    E.

     None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


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

  12. 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

    View Answer

    Workspace

    Discuss Discuss in Forum


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

  14. A.

     cdir

    B.

     chdir

    C.

     changedir

    D.

     cd

    E.

     None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


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

  16. A.

     ls | ws - c

    B.

     ls | wc - w

    C.

     ls | wc - l

    D.

     ls | wc

    E.

     None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


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

  18. A.

     wc - r

    B.

     wc - w

    C.

     wc - c

    D.

     wc - 1

    E.

     None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


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

  20. A.

     128

    B.

     126

    C.

     16,382

    D.

     2,113,658

    E.

     None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum