Which of the following commands in Linux can be used to view the list of files and folders inside the current directory? MCQ with Answer and Explanation

Which of the following commands in Linux can be used to view the list of files and folders inside the current directory?
A. cd
B. show
C. ls
D. dir/w
Answer: Option C
Solution (By JKSSB Mock Tests)
The 'ls' command is the standard utility used to list files, folders, and attributes in Unix-like terminal configurations.

Discuss this Question (0)

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

Practice More Operating Systems Questions

Question #1
Which of the following is an example of a distributed operating system?
A. Linux
B. Android
C. Amoeba
D. Windows Server

Correct Answer: Option C


Explanation:
Amoeba is a distributed OS that manages a collection of computers as a single system; others are not distributed by default.

This question belongs to: Computer Operating Systems
Question #2
In Windows, the 'Robocopy' command is used for:
A. Synchronizing folders
B. Both A and C
C. Robust file copy with advanced options for networks and backups
D. Copying files only within the same drive

Correct Answer: Option B


Explanation:
Robocopy (Robust File Copy) is a powerful command-line tool for copying and synchronizing directories, with retry and logging features.

This question belongs to: Computer Operating Systems
Question #3
Which of the following is a process scheduling algorithm that allocates CPU to the process with the shortest remaining time?
A. Priority Scheduling
B. Shortest Job First (SJF)
C. Round Robin
D. Multilevel Queue

Correct Answer: Option B


Explanation:
SJF selects the process with the shortest total execution time; the preemptive version is Shortest Remaining Time First (SRTF).

This question belongs to: Computer Operating Systems