In Linux, the 'export' command is used to: MCQ with Answer and Explanation

In Linux, the 'export' command is used to:
A. All of the above
B. Make a variable global
C. Display environment variables
D. Set environment variables that are passed to child processes
Answer: Option A
Solution (By JKExamLibrary)
export makes shell variables available to subprocesses; without options, it lists exported variables.

This question belongs to: Computer Operating Systems

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Operating Systems Questions

Question #1 Report Error
Which mechanism ensures that only one process can execute inside a critical section of code at any given time?
A. Spooling Routine
B. Mutual Exclusion
C. Context Swapping
D. Paging Allocation

Correct Answer: Option B


Explanation:
Mutual Exclusion (Mutex) guarantees that if a process is executing inside its critical section, no other processes are permitted to enter that code path.

This question belongs to: Computer Operating Systems
Question #2 Report Error
Which Windows version was the first to introduce the Start Menu?
A. Windows 95
B. Windows 3.1
C. Windows 98
D. Windows NT

Correct Answer: Option A


Explanation:
Windows 95 introduced the Start Menu as a central point for accessing programs and settings.

This question belongs to: Computer Operating Systems
Question #3 Report Error
Which Android component is responsible for managing the lifecycle of an application process?
A. ProcessManager
B. WindowManager
C. PackageManager
D. ActivityManager

Correct Answer: Option D


Explanation:
ActivityManager manages the overall application lifecycle, including starting and killing processes based on memory needs.

This question belongs to: Computer Operating Systems