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

Computer Science :: Unix & Linux Basics

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

  2. A.

     tee

    B.

     grep

    C.

     cat

    D.

     more

    E.

     None of the above


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

  4. A.

     wc - r

    B.

     wc - w

    C.

     wc - c

    D.

     wc - l

    E.

     None of the above


  5. In OSI network architecture, the routing is performed by

  6. A.

     session layer

    B.

     transport layer

    C.

     data link layer

    D.

     network layer

    E.

     None of the above


  7. The 32-bit internet address 10000000 00001010 00000010 00011110 will be written in dotted decimal notation as

  8. A.

     128.10.2.30

    B.

     210.20.2.64

    C.

     164.100.9.61

    D.

     148.20.2.30

    E.

     None of the above


  9. Which class network is used for a collection of a small number of networks with a large number of nodes?

  10. A.

     Class A

    B.

     Class B

    C.

     Class C

    D.

     All of the above

    E.

     None of the above


  11. What type of addressing format is used by Class A network.

  12. A.

     Net.Net.Net.Node

    B.

     Net.Net.Node.Node

    C.

     Net.Node.Net.Node

    D.

     Net.Node.Node.Node

    E.

     None of the above


  13. What types of installations require a special boot disk?

  14. A.

     NFS

    B.

     FTP

    C.

     PCMCIA

    D.

     All of the above

    E.

     None of the above


  15. RPM

  16. A.

     stands for Red Hat Package Manager

    B.

     is used to install, uninstall, and manage packages

    C.

     is used to keep track of the users

    D.

     assigns a dynamic IP address

    E.

     None of the above


  17. What command is used to query for a specific package with RPM?

  18. A.

     rpm -q

    B.

     rpm -a

    C.

     rpm -d

    D.

     rpm -1

    E.

     None of the above


  19. What script is run for setting bash global defaults for all users?

  20. A.

     /etc/.profile

    B.

     /etc/.bashrc

    C.

     /etc/.log

    D.

     /etc/profile

    E.

     None of the above