How do I switch off in Linux?

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

Tìm kiếm

Back
Top