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

Computer Science :: Unix & Linux Basics

  1. What command is used with vi editor to append text at end of line?

  2. A.

     I

    B.

     i

    C.

     a

    D.

     A

    E.

     None of the above


  3. What command is used to copy directory structures in and out?

  4. A.

     copy

    B.

     cp - p

    C.

     cpio

    D.

     cp

    E.

     None of the above


  5. In OSI network architecture, the dialogue control and token management are responsible of

  6. A.

     data link layer

    B.

     transport layer

    C.

     network layer

    D.

     session layer

    E.

     None of the above


  7. Layer one of the OSI model is

  8. A.

     network layer

    B.

     transport layer

    C.

     link layer

    D.

     physical layer

    E.

     None of the above


  9. What layer of OSI determines the interface of the system with the user?

  10. A.

     Session

    B.

     Data-link

    C.

     Application

    D.

     Network

    E.

     None of the above


  11. What command is used to remove jobs from the print queue?

  12. A.

     lpq

    B.

     lpr

    C.

     lprm

    D.

     lpc

    E.

     None of the above


  13. How can you navigate around virtual consoles?

  14. A.

     Alt+Function Key

    B.

     Ctrl+Function Key

    C.

     Ctrl+Alt+Del

    D.

     Alt+a+w+Function Key

    E.

     None of the above


  15. Which of the following NIS clients, finds and stores information about an NIS domain and server?

  16. A.

     ypwhich

    B.

     ypbind

    C.

     ypcat

    D.

     yppoll

    E.

     None of the above


  17. What command is used to save the standard output in a file, as well as display it on the terminal?

  18. A.

     tee

    B.

     grep

    C.

     cat

    D.

     more

    E.

     None of the above


  19. What command is used to count just the number of lines contained in a file?

  20. A.

     wc - r

    B.

     wc - w

    C.

     wc - c

    D.

     wc - l

    E.

     None of the above