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

Behavioral Linux Environment Interview Questions & Answers:

1. How do you get help about the command "cp"?
a) help cp
b) man cp
c) cd ?
d) help cd

b) man cp

2. Which among the following is used to write small programs to control Unix functionalities?
a) Shell Commands
b) Shell Script
c) Filters
d) C Language

b) Shell Script

3. What are the sizes of (Integer/Long/Pointer) in LP64 programming model?
a) 8/8/8
b) 4/4/8
c) 4/8/8
d) 4/8/4

c) 4/8/8

4. Which of these is not a Unix Flavor?
a) BSD
b) MAC
c) AIX
d) IRIX

b) MAC

5. If a file with execute permissions set, but with unknown file format is executed:
a) The file is passed to /bin/sh
b) The system returns an error
c) The current shell will try to execute it
d) None of the mentioned

c) The current shell will try to execute it

6. Which of the following is true?
a) Shell is a process and can be started by superuser only
b) Shell is a built-in Kernel functionality
c) Shell is a wrapper for all the commands and utilities
d) None of the mentioned

c) Shell is a wrapper for all the commands and utilities

7. Which is true with regards to the shell prompt:
a) It can be accidentally erased with backspace
b) The prompt cannot be modified
c) The prompt can be customized (modified)
d) None of the mentioned

c) The prompt can be customized (modified)

8. What is a shell in UNIX?
a) a program through which users can issue commands to UNIX
b) a window management system
c) the login screen
d) the thing that rides on the back of a turtle in UNIX

a) a program through which users can issue commands to UNIX

9. Which of the following represents an absolute path?
a) ../home/file.txt
b) bin/cat
c) cs2204/
d) /usr/bin/cat

d) /usr/bin/cat

10. The user bhojas logged in and performed the following sequence of command. What will be the output of the last command?
$ cd project/module1
$ pwd

a) /home/bhojas/project/module1
b) /home/project/module1
c) /usr/bhojas/project/module1
d) project/module1

a) /home/bhojas/project/module1

11. BASH shell stands for?
a) Bourne-again Shell
b) Basic Access Shell
c) Basic to Advanced Shell
d) Big & Advanced Shell

a) Bourne-again Shell

12. Which of the following files will not be displayed by the command cat re*?
a) reminder
b) receipt
c) Receipt
d) recipe-cake

c) Receipt

13. Shell is?
a) Command Interpreter
b) Interface between Kernel and Hardware
c) Interface between user and applications
d) Command Compiler

a) Command Interpreter

14. Hidden files are:
a) Those whose 'read' bit is set to 'h'
b) Permitted for (can be accessed) only superusers
c) Files that begin with a '.'
d) Files that cannot be opened by ordinary user for writing

c) Files that begin with a '.'

15. For every successful login, which script will be executed?
a) /etc/inittab
b) /etc/profile
c) /etc/login
d) /etc/init

b) /etc/profile

16. Which command is used to debug a shell script program:
a) set
b) set -x
c) debug
d) db

b) set -x

17. Which variable contains current shell process id:
a) $*
b) $?
c) $$
d) $!

c) $$

18. While executing a command, the shell:
a) Executes it in the same process (as shell)
b) Creates a child shell to execute it
c) Loads a special program to take care of the execution
d) None of the above

b) Creates a child shell to execute it

19. Which of the following commands allows definition and assignment of environment variables under bash?
a) env
b) export
c) environ
d) setenviron

a) env

20. To feed standard output of one command to standard input of another in a single shell session:
a) IO redirection can be used
b) Named pipes can be used
c) The pipe operator provided by the shell can be used
d) It can not be done

c) The pipe operator provided by the shell can be used

21. X86-32 uses which programming model?
a) IP16
b) IP32
c) ILP16
d) ILP32

d) ILP32

22. Which of the following UNIX flavor is from IBM?
a) BSD
b) Solaris
c) HP-UX
d) AIX

d) AIX

23. Which of the following statement is FALSE?
a) Unix supports multiple users
b) Linux is an open source operating system and the source code is shared
c) Shell takes care of inter process communication
d) Shell provides the feature of I/O Redirection

c) Shell takes care of inter process communication

24. SVR4 was developed by:
a) Sun Microsystems
b) AT&T
c) University of Berkeley
d) Sun and AT&T jointly

d) Sun and AT&T jointly

25. Syntax of any Unix command is:
a) command [options] [arguments]
b) command options [arguments]
c) command [options] [arguments]
d) command options arguments

a) command [options] [arguments]

26. Lp0 device file is used to access:
a) Floppy
b) Cdrom
c) Printer
d) Tape drive

c) Printer

27. SVR4 stands for?
a) Standard Version Release 4
b) System Version Release 4
c) Standard Five Release 4
d) System Five Release 4

d) System Five Release 4

28. Unix is which kind of Operating System?
a) Multi User
b) Multi Processes
c) Multi Tasking
d) All the above

d) All the above

29. Which of the following is considered as the super daemon in Unix?
a) sysinit
b) init
c) inetd
d) proc

b) init

30. Which of the following enables multi-tasking in UNIX?
a) Time Sharing
b) Multi programming
c) Multi user
d) Modularity

a) Time Sharing

31. The system calls in UNIX is written using which language?
a) C
b) C++
c) Assembly Language
d) Fortran

a) C

32. Which of the following is "NOT" a UNIX variant?
a) Solaris
b) AIX
c) IRIX
d) AS400

d) AS400

33. Solaris is the name of a flavor of UNIX from:
a) HP
b) IBM
c) Digital Equipment Corp
d) Sun Microsystems

d) Sun Microsystems

34. Applications communicate with kernel by using:
a) System Calls
b) C Programs
c) Shell Script
d) Shell

a) System Calls

35. Which among the following interacts directly with system hardware?
a) Shell
b) Commands
c) Kernel
d) Applications

c) Kernel



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