Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Question 36 of 42
Free Preview · 42 of 140 · questions 1–42 of 140 are free. Sign up free to sync your progress across devices.
Hotspot Scenario
Select the appropriate option to complete the statement. Click Check Answer below to see the marked solution.
Hotspot Solution:
The command that will disable swapping on a device is 'swapoff'. To disable swapping on a specific device, you can use the following command: sudo swapoff device_name For example, to disable swapping on the device '/dev/sda5', you can use the following command: sudo swapoff /dev/sda5 This command will disable swapping on the specified device, which means that the operating system will not use the device as swap space. Note: 'swapoff' requires root privileges. You will need to use 'sudo' or login as the root user to run the command.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
The command that will disable swapping on a device is 'swapoff'. To disable swapping on a specific device, you can use the following command: sudo swapoff device_name For example, to disable swapping on the device '/dev/sda5', you can use the following command: sudo swapoff /dev/sda5 This command will disable swapping on the specified device, which means that the operating system will not use the device as swap space. Note: 'swapoff' requires root privileges. You will need to use 'sudo' or login as the root user to run the command.