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

Computer Science :: Unix & Linux Basics

  1. Which command is used to display the device name of the terminal you are using?

  2. A.

     who

    B.

     ls

    C.

     tty

    D.

     stty

    E.

     None of the above


  3. The ls -l command tells

  4. A.

     who the owner of the file is

    B.

     the name of the group owner of the file

    C.

     how large the file is and when the file was last modified.

    D.

     All of the above

    E.

     None of the above


  5. Which option will be used with disk free command to include the total amount of disk space in the file system?

  6. A.

     #NAME?

    B.

     #NAME?

    C.

     -4

    D.

     #NAME?

    E.

     None of the above


  7. Which command is used to set the three permissions for all the three categories of users of a file?

  8. A.

     chgrp

    B.

     chown

    C.

     chmod

    D.

     chusr

    E.

     None of the above


  9. Which of the following commands can be used to get information about yourself?

  10. A.

     who am i

    B.

     i /4

    C.

     pwd

    D.

     which

    E.

     None of the above


  11. Which of the following commands can be used to get information about all users who are currently logged into the system?

  12. A.

     which

    B.

     who

    C.

     who am i

    D.

     1 /u

    E.

     None of the above


  13. Which of the following keys is used to overstrike a whole line?

  14. A.

     R

    B.

     v

    C.

     C

    D.

     u

    E.

     None of the above


  15. Which command is used to locate all the .profile files in the system?

  16. A.

     ls profile

    B.

     find /-name profile -print

    C.

     cd /.profile

    D.

     l -u .profile

    E.

     None of the above


  17. The File that contains a set of instructions which are performed when a user logs in, is

  18. A.

     .exrc

    B.

     .profile

    C.

     .autoexec

    D.

     autoexec.bat

    E.

     None of the above


  19. The octal representation 652 indicates

  20. A.

     Execute permission for the owner

    B.

     Write permission for others

    C.

     Read and write permission of groups

    D.

     All of the above

    E.

     None of the above