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

Computer Science :: Unix & Linux Basics

  1. What command is used to compare the files?

  2. A.

     ccp

    B.

     du

    C.

     cmp

    D.

     comp

    E.

     None of the above


  3. What command is used to summarize the disk usage?

  4. A.

     disk

    B.

     du

    C.

     fdisk

    D.

     chkdsk

    E.

     None of the above


  5. What command is used to list the jobs currently in print queues?

  6. A.

     lpq

    B.

     lpr

    C.

     lprm

    D.

     lpc

    E.

     None of the above


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

  8. A.

     Linux

    B.

     BSD

    C.

     UnixWare

    D.

     DOS

    E.

     None of the above


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

  10. A.

     ypwhich

    B.

     ypbind

    C.

     ypcat

    D.

     yppoll

    E.

     None of the above


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

  12. A.

     /usr

    B.

     /tmp

    C.

     /opt

    D.

     /mnt

    E.

     None of the above


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

  14. A.

     sort

    B.

     wc

    C.

     grep

    D.

     cat

    E.

     None of the above


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

  16. A.

     oct

    B.

     of

    C.

     od

    D.

     cd

    E.

     None of the above


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

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


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

  20. A.

     cdir

    B.

     chdir

    C.

     changedir

    D.

     cd

    E.

     None of the above