Instantly share code, notes, and snippets.
Hi @cobyism ,
How may I permanently add the swap file in my system?
Now I'm facing the problem is If I restart or shutdown the server the swap file remove or does not run! Then I have to have need re-create the swap file as your command.
echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab