logo
  • Home
  • Test & Rank
  • About
  • Training
  • Programming
  • CS
  • IT
  • IS
  • ECE
  • EEE
  • EE
  • Civil
  • Mechanical
  • Chemical
  • Metallurgy
  • Instrumentation
  • Aeronautical
  • Aerospace
  • Biotechnology
  • Mining
  • Marine
  • Agriculture
  • MCA
  • BCA
  • Internship
  • Jobs
  • Contact

Linux Multiple Choice Questions | MCQs | Quiz

Linux Interview Questions and Answers
Practice Linux questions and answers for interviews, campus placements, online tests, aptitude tests, quizzes and competitive exams.

Get Started

•   Linux Environment - 1
•   Linux Environment - 2
•   Linux Environment - 3
•   Linux Commands - 1
•   Linux Commands - 2
•   Linux Commands - 3
•   Linux Commands - 4
•   Linux File Management - 1
•   Linux File Management - 2
•   Linux File Types
•   Linux File Permissions - 1
•   Linux File Permissions - 2
•   Linux File System Overview
•   Linux Startup & Shutdown
•   Linux Process Management
•   User Account Management
•   Linux Shell Programming
•   Linux Shell Environment - 1
•   Linux Shell Environment - 2
•   Linux Shell Redirection
•   Shell Special Symbols
•   Linux Search Pattern
•   Linux Shell Functions
•   Linux Shell Variables
•   Bash Arithmetic Expression
•   Command History
•   Bash Built-in Commands
•   Bash Built-in Commands - 2
•   Bash Built-in Commands - 3
•   Linux vi Editor
•   Linux sed Editor
•   Awk Programming Basics
•   Programming Expressions
•   Awk Control Statements
•   Awk Variables & Arrays
•   Filesystem Hierarchy - 1
•   Filesystem Hierarchy - 2
•   Linux Proc Filesystem - 1
•   Linux Proc Filesystem - 2
•   Linux Proc Filesystem - 3
•   Linux Proc Filesystem - 4
•   Linux Proc Filesystem - 5
•   Makefile Questions - 1
•   Makefile Questions - 2
•   GCC Compiler Options - 1
•   GCC Compiler Options - 2
•   GCC Compiler Options - 3
•   GCC Compilation Stages-1
•   GCC Compilation Stages-2
•   Static Libraries Questions
•   Shared Libraries Questions
•   GDB Debugger Questions-1
•   GDB Debugger Questions-2
•   GDB Debugger Questions-3
•   GDB Debugger Questions-4
•   GDB Debugger Questions-5
•   Linux Sysfs Questions - 1
•   Linux Sysfs Questions - 2
•   Linux Sysfs Questions - 3
•   Linux Sysfs Questions - 4
•   Linux Sysfs Questions - 5
•   Linux Device Drivers
•   Linux Process Management
•   Linux Memory Management
•   Linux File Management - 1
•   Linux File Management - 2
•   Linux Signal Handling
•   Linux IPCs - 1
•   Linux IPCs - 2
•   Linux Systems
•   ↓ Debugging Questions ↓
•   Debugging Malloc/Free-1
•   Debugging Malloc/Free-2
•   Debugging File Handling
•   Process Management
•   Debugging Signal Handling
•   Debugging Userlimit/Timer
•   Debugging Posix Threads
•   PThreads Handling
•   Debugging Pipes
•   Debugging System-V IPCs
•   Debugging POSIX IPCs
•   Debugging Unix Sockets
•   Debugging Internet Sockets

Best Reference Books

•   Linux Books
« Prev Page
Next Page »

Linux Questions & Answers – File Types

Posted on February 15, 2013 by Manish

This set of Linux / Unix quiz focuses on Linux commands on File Management areas viz. file attributes, types, modes and permissions.

1. The soft link will increase the link counter of the file.(T/F)
a) True
b) False
View Answer

Answer: b
Explanation: None.
advertisement

2. When you use the ln command, which of the following occurs?
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

Answer: a
Explanation: None.

3. srwxr-xrw- is a
a) internet socket file
b) unix domain socket file
c) symbolic link
d) shared file
View Answer

Answer: b
Explanation: None.

4. Binary or executable files are:
a) Regular files
b) Device files
c) Special files
d) Directory files
View Answer

Answer: a
Explanation: None.

5. The directory file contains:
a) File names & File Sizes
b) File names & Inode Numbers
c) File names & Address
d) File names & Permissions
View Answer

Answer: b
Explanation: None.
advertisement

6. Which directory contain device special files?
a) /etc
b) /etc/dev
c) /root/bin
d) /dev
View Answer

Answer: d
Explanation: None.

7. Which of the following is not a valid file type on Linux
a) Socket
b) Softlink
c) Inode
d) FIFO
View Answer

Answer: c
Explanation: None.

8. Which of the following is not correct statement regarding file types?
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

Answer: b
Explanation: None.

9. Which are the two types of device files?
a) Character & Block
b) Character & Socket
c) Block & FIFO
d) Input & output
View Answer

Answer: a
Explanation: None.

10. Which is an example for character special file?
a) Hard disk
b) CD-ROM
c) Terminal
d) Memory
View Answer

Answer: c
Explanation: None.
advertisement

11. Which is an example for block special file?
a) Virtual Terminal
b) CD-ROM
c) Terminal
d) Serial modem
View Answer

Answer: b
Explanation: None.

12. All device files are stored in which directory?
a) /etc
b) /bin
c) /dev
d) /usr
View Answer

Answer: c
Explanation: None.

Sanfoundry Global Education & Learning Series – Linux Administration & Programming.

Here’s the list of Best Reference Books in Linux Commands & Shell Programming.
Here’s the list of Best Reference Books in Linux Kernel, Device-Drivers & System Programming.

To practice all questions on Linux Administration & Programming, here is complete set of 1000+ Multiple Choice Questions and Answers on Linux.

« Prev Page - Linux Questions & Answers – File Management – 1
» Next Page - Linux Questions & Answers – File Permissions – 1

« Linux Questions & Answers – File Management – 1
Linux Questions & Answers – File Permissions – 1 »
advertisement

Deep Dive @ Sanfoundry:

  1. HTML Questions and Answers
  2. C Questions and Answers
  3. C++ Questions and Answers
  4. Operating System Questions and Answers
  5. Linux Command Tutorials with Examples and Explanations
  6. Online Training – SAN, C, Linux Kernel & Device Drivers Training
  7. Bangalore Training – SAN, C, Linux Kernel and Device Drivers Training
  8. C# Programming Examples on Files
  9. Linux Questions and Answers
  10. C Programming Examples on File Handling
Manish Bhojasia
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He is Linux Kernel Developer & SAN Architect and is passionate about competency developments in these areas. He lives in Bangalore and delivers focused training sessions to IT professionals in Linux Kernel, Linux Debugging, Linux Device Drivers, Linux Networking, Linux Storage, Advanced C Programming, SAN Storage Technologies, SCSI Internals & Storage Protocols such as iSCSI & Fiber Channel. Stay connected with him @ LinkedIn | Facebook | Twitter

Best Careers

Developer Tracks
SAN Developer
Linux Kernel Developer
Linux Driver Developer
Linux Network Developer

Live Training Photos
Mentoring
Software Productivity
GDB Assignment
Sanfoundry is No. 1 choice for Deep Hands-ON Trainings in SAN, Linux & C, Kernel Programming. Our Founder has trained employees of almost all Top Companies in India such as VMware, Citrix, Oracle, Motorola, Ericsson, Aricent, HP, Intuit, Microsoft, Cisco, SAP Labs, Siemens, Symantec, Redhat, Chelsio, Cavium, ST-Micro, Samsung, LG-Soft, Wipro, TCS, HCL, IBM, Accenture, HSBC, Mphasis, Tata-Elxsi, Tata VSNL, Mindtree, Cognizant and Startups.

Best Trainings

SAN I - Technology
SAN II - Admin
Linux Fundamentals
Advanced C Training
Linux-C Debugging
System Programming
Network Programming
Linux Threads
Kernel Programming
Kernel Debugging
Linux Device Drivers

Best Reference Books

Computer Science Books
Algorithm & Programming Books
Electronics Engineering Books
Electrical Engineering Books
Chemical Engineering Books
Civil Engineering Books
Mechanical Engineering Books
Industrial Engineering Books
Instrumentation Engg Books
Metallurgical Engineering Books
All Stream Best Books

Questions and Answers

1000 C Questions & Answers
1000 C++ Questions & Answers
1000 C# Questions & Answers
1000 Java Questions & Answers
1000 Linux Questions & Answers
1000 Python Questions
1000 PHP Questions & Answers
1000 Hadoop Questions
Cloud Computing Questions
Computer Science Questions
All Stream Questions & Answers

India Internships

Computer Science Internships
Instrumentation Internships
Electronics Internships
Electrical Internships
Mechanical Internships
Industrial Internships
Systems Internships
Chemical Internships
Civil Internships
IT Internships
All Stream Internships

About Sanfoundry

About Us
Copyright
Terms
Privacy Policy
Jobs
Bangalore Training
Online Training
Developers Track
Mentoring Sessions
Contact Us
Sitemap
© 2011 Sanfoundry. All Rights Reserved.