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

Computer Science :: Unix & Linux Basics

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

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


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

  4. A.

     wc - r

    B.

     wc - w

    C.

     wc - c

    D.

     wc - 1

    E.

     None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


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

  6. A.

     128

    B.

     126

    C.

     16,382

    D.

     2,113,658

    E.

     None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  7. LILO

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

    View Answer

    Workspace

    Discuss Discuss in Forum


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

  10. A.

     - - recompile

    B.

     - - rebuild

    C.

     - - generate

    D.

     - - execute

    E.

     None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  11. What command is used to set user and group quotas?

  12. A.

     /sbin/usrquota

    B.

     /sbin/edquota

    C.

     /sbin/quotaon

    D.

     /sbin/quota

    E.

     None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  13. NIS

  14. A.

     is Network Information Service

    B.

     is a simple directory service whose main purpose is to allow remote authentication of systems on local network systems

    C.

     was formerly known as yellow pages

    D.

     allows configuration-such as password and group files

    E.

     None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  15. In order to increase the amount of memory available for a system, what is the maximum size of a swap partition (with kernel version 2.2.x)?

  16. A.

     2GB

    B.

     128MB

    C.

     64MB

    D.

     32MB

    E.

     None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  17. Which file is used to configure which filesystems are mounted?

  18. A.

     /etc/mount.sys

    B.

     /etc/filesys

    C.

     /etc/sysconfig

    D.

     /etc/fstab

    E.

     None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  19. Who has developed the Linux?

  20. A.

     Bob Young

    B.

     Mark Eving

    C.

     Richard Stallman

    D.

     Linus Torvalds

    E.

     None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum