I am trying to execute the sudo swapoff /swapfile command, but I get an error

swapoff: / swapfile: failed to execute swapoff: There is no such file or directory

What am I doing wrong? How do I change the swap size?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.