Interview Questions Answers.ORG
Interviewer And Interviewee Guide
Device DriversLinux OS ManagementLinux MakefileLinux EnvironmentLinux OS Shell Interviews Quizzes

Accounts

AccountingAccounts PayableAuditJunior AccountantSenior Accountant

Analysis

Data AnalystFinancial AnalystGISGIS AnalysisStatistics

Banking

ICICI Bank LtdLoan OfficerRecovery OfficerTreasuryUnderwriter

Basic Job

BehavioralBusiness intelligenceFreshers GraduatePuzzlesTargeted Selection

Best Engineering

Automobile EngineeringChemical EngineeringCivil EngineeringElectrical EngineeringMechanical Engineering

Best Multimedia

3D AnimationCoreldrawDesign EngineerGraphics DesignerInterior Design

Community

Cable OperatorFirefighter SpecialistFuneral DirectorSpeech PathologistTranslator

New Artist

Art DirectorAstrologistInternational RelationshipSociologyVisual Arts

9th Class

9th Class Biology9th Class Chemistry9th Class Computer Studies9th Class Pakistan StudiesEnglish Grammar Section 9th Class

Accounting

Accounting ManagementBank Probationary Officer (PO)Financial Accounting Exam MCQsManagerial Accounting Exam MCQs

Civil Engineering

Building ConstructionRailwaysRCC Structures DesignSoil Mechanics and Foundation EngineeringSurveying

Engineering

Electrical EngineeringElectronic DevicesElectronics EngineeringEngineering MechanicsSoftware Engineering

General Knowledge (GK)

General Knowledge (GK)IQ (Intelligence Quotient)Permutation And CombinationPhysical CommunicationVocabulary

Information Technology (IT)

Basics of ComputerComputer KnowledgeComputer OrganizationFundamentals Of ComputerWireless Communication

Networking

Advanced NetworkingBasic NetworkingComputer Networks TestNetwork SecurityNetworking

Soft Skills Quizzes MCQs

Communication Skills Exam MCQsCorporate Communication Exam MCQsLeadership Skills Exam MCQsNegotiation Skills Exam MCQsTime Management Exam MCQs

Linux OS Interviews

Awk Programming IQBash Arithmetic Expressions IQDevice Drivers IQGCC Compiler IQLinux Administrator IQLinux Commands IQLinux Debugging IQLinux Environment IQLinux General IQLinux IPC IQLinux Makefile IQLinux OS IQLinux OS Editors IQLinux OS Management IQLinux OS Shell IQLinux Proc Filesystem IQLinux Search Pattern IQLinux Shared & Static Libraries IQLinux Socket Programming IQLinux Startup and Shutdown IQLinux Sysfs IQLinux Systems IQLinux Threads IQLinux Ubuntu IQSignal Handling IQSystem Calls IQ

Essential Linux Proc Filesystem Interview Questions & Answers:

1. Which one of the directory does not contain binary files?
a) /bin
b) /sbin
c) /etc
d) none of the mentioned

c) /etc

2. What is /bin/sh?
a) bourne shell
b) hard or symbolic link to the real shell command
c) bash shell
d) both (b) and (c)

b) hard or symbolic link to the real shell command

3. Which one of the following file contains the environment for the process?
a) /proc/[PID]/environ
b) /proc/[PID]/env
c) /proc/[PID]/path
d) none of the mentioned

a) /proc/[PID]/environ

4. Which file contains the boot options passed to the kernel?
a) /proc/cmdline
b) /proc/root
c) /proc/boot
d) none of the mentioned

c) /proc/boot

5. /bin/dmesg picks the messages from:
a) /proc/kmesg
b) /sbin/klogd
c) both (a) and (b)
d) none of the mentioned

a) /proc/kmesg

6. The file /proc/locks displays the file currently locked by the:
a) kernel
b) user
c) superuser
d) none of the mentioned

a) kernel

7. The file /proc version shows the version of ______ used in the system.
a) kernel
b) gcc
c) both (a) and (b)
d) none of the mentioned

c) both (a) and (b)

8. What is /proc/self?
a) a directory
b) link to the currently running process
c) it allows a process to look itself without having to know its process ID
d) all of the mentioned

d) all of the mentioned

9. The /sbin/sysctl command is used to:
a) view kernel settings in the /proc/sys/ directory
b) set kernel settings in the /proc/sys/ directory
c) automate kernel settings in the /proc/sys/ directory
d) all of the mentioned

d) all of the mentioned

10. The file /proc/kcore displays a size of:
a) RAM
b) RAM plus 4 KB
c) RAM plus 8 KB
d) none of the mentioned

b) RAM plus 4 KB

11. The file /proc/execdomains lists the:
a) execution domains currently supported by the linux kernel
b) all domains of all processes
c) registered ISA DMA channel in use
d) none of the mentioned

a) execution domains currently supported by the linux kernel

12. For the system having one processor, the processor identifying number in the file /proc/cpuinfo is:
a) 0
b) 1
c) 2
d) 3

b) 1

13. Which file shows the parameter passed to kernel at the time of starting?
a) /proc/apm
b) /proc/cmdline
c) both (a) and (b)
d) none of the mentioned

b) /proc/cmdline

14. Which file is used primarily for diagnosing memory fragmentation issues?
a) /proc/buddyinfo
b) /proc/meminfo
c) /proc/apm
d) none of the mentioned

a) /proc/buddyinfo

15. The command "echo www.globalguideline.com > /proc/sys/kernel/hostname" will:
a) change the hostname
b) print "www.globalguideline.com"
c) do nothing
d) none of the mentioned

a) change the hostname

16. The directory /proc/net contains information about:
a) different network system compiled into the system
b) IP address of the system
c) MAC address of the system
d) none of the mentioned

a) different network system compiled into the system

17. The files of /proc directory are
a) stored in secondary memory
b) generated by the kernel
c) both (a) and (b)
d) none of the mentioned

b) generated by the kernel

18. Accessing the file /proc/meminfo gives the different result each time because:
a) memory usages is always fluctuating
b) a new process id is assigned
c) logical address is different from the physical address
d) none of the mentioned

a) memory usages is always fluctuating

19. Proc files are:
a) read-only files
b) read-write files
c) both (a) and (b)
d) none of the mentioned

c) both (a) and (b)

20. Most files and directories within /proc are 0 bytes in size because:
a) proc filesystem exists only as a reflection of the in-memory kernel data structure
b) these files contains very only one or two instructions
c) both(a) and (b)
d) none of the mentioned

a) proc filesystem exists only as a reflection of the in-memory kernel data structure

21. With the help of proc filesystem:
a) kernel and kernel modules can send the information to processes
b) process information can be accessed
c) both (a) and (b)
d) none of the mentioned

c) both (a) and (b)

22. The file /proc/[PID]/mountinfo contains:
a) major minor numbers of device files
b) root of the mount within the filesystem
c) mount point relative to the process's root
d) all of the mentioned

d) all of the mentioned

23. Which one of the following command will print the environment of process 1?
a) cat /proc/1/environ
b) cat /proc/bin/1/env
c) cat /proc/1/var/env
d) none of the mentioned

a) cat /proc/1/environ

24. The command "cd /proc/10/cwd" provides the:
a) current working directory of process having PID 10
b) current status of the process having PID 10
c) current version of the filesystem
d) none of the mentioned

a) current working directory of process having PID 10

25. /proc/tty contains the information about:
a) current terminal
b) all terminals
c) both (a) and (b)
d) none of the mentioned

a) current terminal

26. The file /proc/swaps contains the:
a) list of active swap partitions
b) sizes of the swap partitions
c) priorities of the swap partitions
d) all of the mentioned

d) all of the mentioned

27. The buddy algorithm handles the:
a) memory fragmentation
b) DHCP server
c) routing
d) none of the mentioned

a) memory fragmentation

28. The list of available frame buffers are stored in:
a) /proc/[PID]/fb
b) /proc/fb
c) /proc/etc/fb
d) none of the mentioned

b) /proc/fb

29. The directory /proc/[PID]/tasks contains:
a) hard links to any task that have been started by this process
b) files that containing tasks that have been started by this process
c) sub-direcories of various tasks
d) none of the mentioned

a) hard links to any task that have been started by this process

30. Which one of the following is a sym-link to the root path as seen by the process?
a) /proc/[PID]/root
b) /proc/[PID]/path
c) both (a) and (b)
d) none of the mentioned

a) /proc/[PID]/root

31. What is /proc/[PID]/cwd?
a) symbolic link to current directory of the process
b) regular file containing the information about the current status of the process
c) directory containing various sub-directories
d) none of the mentioned

a) symbolic link to current directory of the process

32. Which one of the following contains various bits of information about the state of power management?
a) /proc/acpi
b) /proc/apm
c) both (a) and (b)
d) none of the mentioned

c) both (a) and (b)

33. Obtaining of the PID can be done by the utility:
a) pgrep
b) pidof
c) ps
d) all of the mentioned

d) all of the mentioned

34. Which one of the following operating system does not supports proc filesystem?
a) IBM AIX
b) QNX
c) Solaries
d) none of the mentioned

d) none of the mentioned

35. /proc/partitions contains:
a) major number of each partition
b) minor number of each partition
c) number of block and partition name
d) all of the mentioned

d) all of the mentioned



SHARE




FORUM
PRIVACY
TERMS & CONDITIONS
FEED BACK

Submit Your Feedback:


×

Thank You For Your Feedback!

Your message has been sent successfully.

Disclaimer
Interview Questions Answers .ORG is responsive and optimized web portal for individuals to get preparation for their job interviews, learning and training. Content at Interview Questions Answers .ORG might be simplified to improve our users experience. We constantly review our content to avoid errors and copyright violations, but we cannot warrant full correctness of all the content. While using this site, you agree to have read and accepted our terms of use, cookie and privacy policy. Copyright 2007-2025 by Interview Questions Answers .ORG All Rights Reserved.

Interview Questions Answers .ORG
Face Book Twitter Linkedin