ubuntuAdd swap
fallocate -l 2G /swapfile && chmod 600 /swapfile && mkswap /swapfile && swapon /swapfilectrl + c| -l 2Grequired size of your swap file | /swapfilepath to the swap file itself | 
More of Ubuntu
- How to kill process in CLI
- How to completely delete application in CLI
- Get Ubuntu version in CLI
- Get external IP in CLI
- How to get battery status in CLI
- How to change timezone in CLI
- How to download URL in CLI
- How to remove unused applications and libraries
- How to change keyboard layout in CLI
See more codes...