Home / CSE MCQs / C-MCQs :: Basic Linux

CSE MCQs :: C-MCQs

  1. Effective group id can be set using following permission
  2. A.
    0777
    B.
    2666
    C.
    4744
    D.
    1711

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. Sticky bit can be set using following permission
  4. A.
    0777
    B.
    2666
    C.
    4744
    D.
    1711

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. The permission -rwSr“r“ represented in octal expression will be
  6. A.
    0777
    B.
    2666
    C.
    4744
    D.
    4644

    View Answer

    Workspace

    Discuss Discuss in Forum


  7. The permission -rwxr-sr“ represented in octal expression will be
  8. A.
    0777
    B.
    2766
    C.
    2744
    D.
    2754

    View Answer

    Workspace

    Discuss Discuss in Forum


  9. If user tries to remove (rm) a readonly file (444 permission), what will happen?
  10. A.
    The file is removed successfully (and silently)
    B.
    The rm command prompts for a confirmation, the command is successful upon confirmation
    C.
    The rm command prompts for a confirmation, however the operation fails because of insufficient permissions
    D.
    The rm command fails because of insufficient permissions

    View Answer

    Workspace

    Discuss Discuss in Forum


  11. A user does a chmod operation on a file. Which of the following is true?
  12. A.
    The last accessed time of the file is updated
    B.
    The last modification time of the file is updated
    C.
    The last change time of the file is updated
    D.
    None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  13. If the umask value is 0002. what will be the permissions of new directory
  14. A.
    777
    B.
    775
    C.
    774
    D.
    664

    View Answer

    Workspace

    Discuss Discuss in Forum


  15. The permission -rwxr-xr-t represented in octal expression will be
  16. A.
    0777
    B.
    1755
    C.
    1754
    D.
    2754

    View Answer

    Workspace

    Discuss Discuss in Forum


  17. Which command is used to assign read-write permission to the owner?
  18. A.
    chmod a+r file
    B.
    chmod o+r file
    C.
    chmod u=rw file
    D.
    chmod og-r file

    View Answer

    Workspace

    Discuss Discuss in Forum


  19. Given the command
    $ chmod o-w datafile
  20. A.
    sets write permission to everyone for datafile
    B.
    sets write permission to others for datafile
    C.
    clears write permission to everyone for datafile
    D.
    clears write permission to others for datafile

    View Answer

    Workspace

    Discuss Discuss in Forum