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

Computer Science :: Unix & Linux Basics

  1. Which of the following command can be used to rename a file in UNIX?

  2. A.

     ren

    B.

     mv

    C.

     remove

    D.

     change

    E.

     None of the above


  3. What command is used to remove a file?

  4. A.

     del

    B.

     mv

    C.

     rm

    D.

     remove

    E.

     None of the above


  5. What command is used to display the top of the file?

  6. A.

     grep

    B.

     more

    C.

     head

    D.

     cat

    E.

     None of the above


  7. What command can be used to get information about yourself?

  8. A.

     which

    B.

     pwd

    C.

     i /4

    D.

     who am i

    E.

     None of the above


  9. What layer protocol is responsible for user and the application programme support such as passwords, resource sharing, file transfer and network management?

  10. A.

     Layer 4 protocols

    B.

     Layer 5 protocols

    C.

     Layer 6 protocols

    D.

     Layer 7 protocols

    E.

     None of the above


  11. What package group will you select during the custom configuration to enable the machine to communicate with Windows clients?

  12. A.

     SMB (Samba) Connectivity

    B.

     IPX/NetWare Connectivity

    C.

     Dial-up Workstation

    D.

     All of the above

    E.

     None of the above


  13. Which of the following tool allows you to change your default X Window desktop?

  14. A.

     switchdesk

    B.

     intrc

    C.

     xinitre

    D.

     Xchange

    E.

     None of the above


  15. Which of the following is the main Apache configuration file?

  16. A.

     httpd.conf

    B.

     apache.con

    C.

     /etc/profile

    D.

     system.ini

    E.

     None of the above


  17. What command is used to sort the lines of data in a file in reverse order?

  18. A.

     sort - r

    B.

     st

    C.

     sh

    D.

     sort

    E.

     None of the above


  19. What command is used to print a file?

  20. A.

     lp

    B.

     pg

    C.

     prn

    D.

     print

    E.

     None of the above