I was trying to create a swap file but I got sudo: swapon command not found. I believe it used to be there before and I remember seeing it in tegrastats but I don’t see it there as well now. I tried to install it but no matter what I do I always get that error.
I have tried:
sudo apt-get install swap-utils
sudo apt-get update
sudo add-apt-repository universe
sudo apt-get install util-linux
sudo-apt-get install --reinstall util-linux
I am not sure what to do.