I am trying to delete the swap file by the following link:
However, when I type:
sudo rm /swapfile
I am getting the following error:
rm: cannot remove `swapfile': Operation not permitted
I have changed the permissions on the swap file to 777 and I believe I have root privileges, But still not able to delete it.