-
web.groovymark@gmail.com
- November 26, 2024
Question 41
Which Linux command is used to view the disk usage of a directory?
- A) du
- B) df
- C) ls
- D) cd
Correct Answer: A) du
Explanation: The du command displays the disk usage of a directory in Linux.
Question 42
Which Windows tool allows you to monitor system resource usage?
- A) Resource Monitor
- B) Task Scheduler
- C) Device Manager
- D) Disk Management
Correct Answer: A) Resource Monitor
Explanation: Resource Monitor is used to monitor system resource usage in Windows.
Question 43
Which Linux command is used to display the first few lines of a file?
- A) head
- B) tail
- C) cat
- D) grep
Correct Answer: A) head
Explanation: The head command displays the first few lines of a file in Linux.
Question 44
Which Windows feature allows you to manage startup programs?
- A) Task Manager
- B) Disk Management
- C) Event Viewer
- D) Task Scheduler
Correct Answer: A) Task Manager
Explanation: Task Manager allows you to manage startup programs in Windows.
Question 45
Which Linux command is used to display the last few lines of a file?
- A) tail
- B) head
- C) cat
- D) grep
Correct Answer: A) tail
Explanation: The tail command displays the last few lines of a file in Linux.
Question 46
Which Windows command is used to stop a process by name?
- A) taskkill
- B) net stop
- C) sc stop
- D) stopservice
Correct Answer: A) taskkill
Explanation: The taskkill command is used to stop a process by name in Windows.
Question 47
Which Linux command is used to search for a specific string in files?
- A) grep
- B) find
- C) locate
- D) cat
Correct Answer: A) grep
Explanation: The grep command is used to search for a specific string in files in Linux.
Question 48
Which Windows tool is used to create a backup of system files?
- A) Backup and Restore
- B) File History
- C) System Restore
- D) Task Scheduler
Correct Answer: A) Backup and Restore
Explanation: Backup and Restore is used to create a backup of system files in Windows.
Question 49
Which Linux command is used to terminate a process by its process ID (PID)?
- A) kill
- B) ps
- C) top
- D) shutdown
Correct Answer: A) kill
Explanation: The kill command is used to terminate a process by its process ID (PID) in Linux.
Question 50
Which Windows tool is used to automate repetitive tasks?
- A) Task Scheduler
- B) Task Manager
- C) Device Manager
- D) Resource Monitor
Correct Answer: A) Task Scheduler
Explanation: Task Scheduler is used to automate repetitive tasks in Windows.