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

Computer Science :: Unix & Linux Basics

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

  2. A.

     3$d

    B.

     3 dw

    C.

     3 x

    D.

     3 dd

    E.

     None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


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

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

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. What command is used with file named 'letter' to remove the executable permission from the user and assign read permission to the group and others?

  6. A.

     chmod go + x, u - x letter

    B.

     chmod g - x, uo + r letter

    C.

     chmod go + r, u + x letter

    D.

     chmod u - x, go + r letter

    E.

     None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  7. What command is used to assign executable permission to the owner of the file named "letter"?

  8. A.

     chmod ugo + x letter

    B.

     chmod u + x letter

    C.

     chmod u + w letter

    D.

     chmod g + x letter

    E.

     None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  9. What command is used to compare the files?

  10. A.

     ccp

    B.

     du

    C.

     cmp

    D.

     comp

    E.

     None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


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

  12. A.

     disk

    B.

     du

    C.

     fdisk

    D.

     chkdsk

    E.

     None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


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

  14. A.

     lpq

    B.

     lpr

    C.

     lprm

    D.

     lpc

    E.

     None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


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

  16. A.

     Linux

    B.

     BSD

    C.

     UnixWare

    D.

     DOS

    E.

     None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


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

  18. A.

     ypwhich

    B.

     ypbind

    C.

     ypcat

    D.

     yppoll

    E.

     None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


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

  20. A.

     /usr

    B.

     /tmp

    C.

     /opt

    D.

     /mnt

    E.

     None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum