Home / CSE MCQs / Linux MCQs :: Basic Linux

CSE MCQs :: Linux MCQs

  1. Which directory contain device special files?
  2. A.
    /etc
    B.
    /etc/dev
    C.
    /root/bin
    D.
    /dev

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. Which of the following is not a valid file type on Linux
  4. A.
    Socket
    B.
    Softlink
    C.
    Inode
    D.
    FIFO

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. Which of the following is not correct statement regarding file types?
  6. A.
    Hard links share same inode number
    B.
    Soft links cannot be created across partitions
    C.
    Socket files are Unix domain sockets
    D.
    Character file is a special file

    View Answer

    Workspace

    Discuss Discuss in Forum


  7. Which are the two types of device files?
  8. A.
    Character & Block
    B.
    Character & Socket
    C.
    Block & FIFO
    D.
    Input & output

    View Answer

    Workspace

    Discuss Discuss in Forum


  9. Which is an example for character special file?
  10. A.
    Hard disk
    B.
    CD-ROM
    C.
    Terminal
    D.
    Memory

    View Answer

    Workspace

    Discuss Discuss in Forum


  11. Which is an example for block special file?
  12. A.
    Virtual Terminal
    B.
    CD-ROM
    C.
    Terminal
    D.
    Serial modem

    View Answer

    Workspace

    Discuss Discuss in Forum


  13. All device files are stored in which directory?
  14. A.
    /etc
    B.
    /bin
    C.
    /dev
    D.
    /usr

    View Answer

    Workspace

    Discuss Discuss in Forum


  15. The file permission 764 means:
  16. A.
    Every one can read, group can execute only and the owner can read and write
    B.
    Every one can read and write, but owner alone can execute
    C.
    Every one can read, group including owner can write, owner alone can execute
    D.
    Every one can read and write and execute View Answer

    View Answer

    Workspace

    Discuss Discuss in Forum


  17. The permission -rwxr“r“ represented in octal expression will be
  18. A.
    777
    B.
    666
    C.
    744
    D.
    711

    View Answer

    Workspace

    Discuss Discuss in Forum


  19. Effective user id can be set using following permission
  20. A.
    0777
    B.
    2666
    C.
    4744
    D.
    1711

    View Answer

    Workspace

    Discuss Discuss in Forum