Linux MCQs – Different File Types
Multiple choice questions and answers (MCQs) on Linux focuses on “Managing of users accounts and groups” to prepare for exams, interviews, and certifications, such as Redhat exam, CompTIA exam, Ubuntu / SuSE certification, LPI certification exam. These MCQs will easily prepare anyone to pass their Linux test.
1. The device files are located in which directory?
A /etc
B /bin
C /dev
D /usr
[st_adsense]
2. Which one is an example of a special file in block mode?
A Virtual terminal
B CD-ROM
C Terminal
D Serial Modem
3. Which is an example of a special file in character mode?
A Hard disk
B CD-ROM
C Terminal
D Memory
4. What are the two types of device files?
A Block and FIFO
B Inputs and outputs
C Character and block
D Character and Socket
5. Which of the following statements is not correct regarding file types?
A Physical links share the same inode number
B Symbolic links cannot be created on partitions
C Socket files are Unix domain sockets
D The file in character mode is a special file
[st_adsense]
6. Which of the following is not a valid file type in Linux?
A Symbolic links
B FIFO
C Inode
D Socket
7. Which directory contains special device files?
A /etc
B /etc/dev
C /root/bin
D /dev
8. Any file has a ______________
A Names and sizes
B Names and its inode numbers
C Names and address
D Names and permissions
[st_adsense]
9. srwxr-xrw- is a __________
A internet socket file
B unix domain socket file
C symbolic link
D shared file
10. Binary or executable files are ____________
A Regular files
B Device files
C Special files
D Directory files
[st_adsense]