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

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

  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

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

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

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

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

  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

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

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