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 Bash Shell Questions & Answers – Built-in Commands – 2

Posted on February 15, 2013 by Manish
This set of Linux / Unix questions and answers focuses Built-in Commands in Linux Bash Shell. This is set-2.

1. The ‘logout’ built in command is used to
a) shutdown the computer
b) logoff of the computer
c) logout the current user
d) to exit the current shell
View Answer

Answer: d
Explanation: None.

2. The command ‘umask -S’
a) prints the current mask using symbolic notation
b) prints the current mask using octal numbers
c) sets the mask to 000
d) sets the mask to 777
View Answer

Answer: a
Explanation: None.
advertisement

3. The ‘mapfile’ command
a) reads lines of standard input and assigns each to the element of an indexed array
b) reads lines of standard output file
c) reads lines of standard error file
d) none of the mentioned
View Answer

Answer: a
Explanation: None.

4. Which option of the kill command sends the given signal name to the specified process?
a) -l
b) -n
c) -s
d) -a
View Answer

Answer: c
Explanation: None.

5. Which command removes a directory from directory stack?
a) dirs
b) popd
c) pushd
d) rm
View Answer

Answer: b
Explanation: None.

6. Which command puts a script to sleep untill a signal is recieved?
a) sleep
b) suspend
c) disown
d) break
View Answer

Answer: b
Explanation: None.
advertisement

7. The command ‘ulimit’
a) set a limit on specified resource for system users
b) set/show process resource limit
c) set a limit on specified resource for system users & set/show process resource limit
d) none of the mentioned
View Answer

Answer: c
Explanation: None.

8. Which command identifies the resource of a command?
a) type
b) typeset
c) select
d) source
View Answer

Answer: a
Explanation: None.

9. Which command wait for the specified process to complete and return the exit status?
a) sleep
b) wait
c) delay
d) stop
View Answer

Answer: b
Explanation: None.

10. Which command prints the accumulated user and system times for processes run from the shell?
a) time
b) times
c) both time and times
d) none of the mentioned
View Answer

Answer: b
Explanation: None.

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

advertisement

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 Bash Shell Questions & Answers – Built-in Commands – 1
» Next Page - Linux Bash Shell Questions & Answers – Built-in Commands – 3

« Linux Bash Shell Questions & Answers – Built-in Commands – 1
Linux Bash Shell Questions & Answers – Built-in Commands – 3 »
advertisement

Deep Dive @ Sanfoundry:

  1. C Programming Examples on Searching and Sorting
  2. R Programming Questions and Answers
  3. Training Classes on C, Linux & SAN – Group Photos
  4. C# Programming Examples on Files
  5. C Programming Examples on File Handling
  6. C Programming Examples on Strings
  7. Online Training – SAN, C, Linux Kernel & Device Drivers Training
  8. Bangalore Training – SAN, C, Linux Kernel and Device Drivers Training
  9. Linux Command Tutorials with Examples and Explanations
  10. Linux Questions and Answers
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.