How to Remove a Swap File in Linux

To remove a swap file:
1 – At a shell prompt as root, execute the following command to disable the swap file (where /mnt/swapfile01 is the swap file):

2 – Remove its entry from the /etc/fstab file.

3 – Remove the actual file:



I hope this was helpful and i appreciate if you would like, subscribe or share our posts. I it is just a click


Similar Article  How to Disable Sealinux
No Comments
Leave a Comment

%d bloggers like this: