How do I switch off in Linux?
Answer
In simple ways or the other step:
Answer
In simple ways or the other step:
- Run swapoff -a: this will immediately disable the swap.
- Remove any swap entry from /etc/fstab.
- Get the system rebooted. Ok, if the swap is gone. …
- Repeat steps 1 and 2 and, after that, use fdisk or parted to delete the (now unused) swap partition.