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

CSE MCQs :: C-MCQs

  1. Creation of hardlinks that point across partitions
  2. A.
    is allowed only to root user
    B.
    Can be done by all users
    C.
    The effects are unspecified
    D.
    is not allowed

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. Which command is used to change permissions of files and directories?
  4. A.
    mv
    B.
    chgrp
    C.
    chmod
    D.
    set

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. Where can I find the printer in the file structure?
  6. A.
    /etc
    B.
    /dev
    C.
    /lib
    D.
    /printer

    View Answer

    Workspace

    Discuss Discuss in Forum


  7. Which of the following statement is true?
  8. A.
    The cp command will preserve the meta data of the file
    B.
    The sort command by default sorts in the numeric order
    C.
    The mv command will preserve the meta data of the file
    D.
    The command ps will display the filesystem usage

    View Answer

    Workspace

    Discuss Discuss in Forum


  9. What UNIX command is used to update the modification time of a file?
  10. A.
    time
    B.
    modify
    C.
    cat
    D.
    touch

    View Answer

    Workspace

    Discuss Discuss in Forum


  11. The soft link will increase the link counter of the file.(T/F)
  12. A.
    True
    B.
    False
    C.
    Can't be determined

    View Answer

    Workspace

    Discuss Discuss in Forum


  13. When you use the ln command, which of the following occurs?
  14. A.
    a file is created that points to an existing file
    B.
    a file is created that is a copy of an existing file
    C.
    a file is moved from one location to another
    D.
    a file is renamed

    View Answer

    Workspace

    Discuss Discuss in Forum


  15. srwxr-xrw- is a
  16. A.
    internet socket file
    B.
    unix domain socket file
    C.
    symbolic link
    D.
    shared file

    View Answer

    Workspace

    Discuss Discuss in Forum


  17. Binary or executable files are:
  18. A.
    Regular files
    B.
    Device files
    C.
    Special files
    D.
    Directory files

    View Answer

    Workspace

    Discuss Discuss in Forum


  19. The directory file contains:
  20. A.
    File names & File Sizes
    B.
    File names & Inode Numbers
    C.
    File names & Address
    D.
    File names & Permissions

    View Answer

    Workspace

    Discuss Discuss in Forum