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

Computer Science :: Unix & Linux Basics

  1. The ls -l command tells

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


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

  4. A.

     #NAME?

    B.

     #NAME?

    C.

     -4

    D.

     #NAME?

    E.

     None of the above


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

  6. A.

     chgrp

    B.

     chown

    C.

     chmod

    D.

     chusr

    E.

     None of the above


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

  8. A.

     who am i

    B.

     i /4

    C.

     pwd

    D.

     which

    E.

     None of the above


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

  10. A.

     which

    B.

     who

    C.

     who am i

    D.

     1 /u

    E.

     None of the above


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

  12. A.

     R

    B.

     v

    C.

     C

    D.

     u

    E.

     None of the above


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

  14. A.

     ls profile

    B.

     find /-name profile -print

    C.

     cd /.profile

    D.

     l -u .profile

    E.

     None of the above


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

  16. A.

     .exrc

    B.

     .profile

    C.

     .autoexec

    D.

     autoexec.bat

    E.

     None of the above


  17. The octal representation 652 indicates

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


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

  20. A.

     wc -l

    B.

     wc -c

    C.

     wc -w

    D.

     wc -r

    E.

     None of the above