I am trying to create a swap partion in my ubuntu system but i am getting the invalid argument error.These are the cmds i used
Swap file process:sudo swapoff -asudo fallocate -l +4G /swapfilels -lh /swapfilesudo chmod 600 /swapfilesudo mkswap /swapfilesudo swapon /swapfilesudo swapon --show
This is the terminal screen shot
I tried deleted the previous swap file that is created and run the above cmds and also its not working.