In Linux, which command is used to display the contents of a text file directly onto the terminal screen? MCQ with Answer and Explanation

In Linux, which command is used to display the contents of a text file directly onto the terminal screen?
A. cp
B. cd
C. ls
D. cat
Answer: Option D
Solution (By JKSSB Mock Tests)
The 'cat' (concatenate) command is used to read and display file contents directly onto the standard output terminal screen.

Discuss this Question (0)

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

Practice More Operating Systems Questions

Question #1
Which mechanism allows an operating system to simulate more memory than the computer physically contains by transferring data temporarily to secondary storage?
A. Read-Only Memory
B. Dynamic RAM
C. Cache Memory
D. Virtual Memory

Correct Answer: Option D


Explanation:
Virtual memory combines physical RAM with temporary space on the hard drive (paging/swap file) to let the system handle larger memory loads than physical RAM capacity allows.

This question belongs to: Computer Operating Systems
Question #2
Which Windows component stores the low-level system settings, device driver profiles, and application parameters in a hierarchical database format?
A. System.ini
B. Program Files
C. Control Panel
D. Windows Registry

Correct Answer: Option D


Explanation:
The Windows Registry functions as a unified, hierarchical system data vault holding fundamental configurations for the OS kernel and applications.

This question belongs to: Computer Operating Systems
Question #3
In Windows, the 'MSC' (Microsoft Management Console) snap-in for computer management is:
A. compmgmt.msc
B. sysmgmt.msc
C. mmsc
D. admin.msc

Correct Answer: Option A


Explanation:
compmgmt.msc opens Computer Management, which includes System Tools, Storage, and Services.

This question belongs to: Computer Operating Systems