Home / CSE MCQs / Linux MCQs :: Basic Linux

CSE MCQs :: Linux 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

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

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

  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

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

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

  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

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

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

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