I have done the following commands trying to make Ubuntu work faster:
echo 100 > /proc/sys/vm/overcommit_ratio echo 2 > /proc/sys/vm/overcommit_memory #/etc/sysctl.conf прописываем: vm.overcommit_memory=2 vm.overcommit_ratio=100
It's become worse. I want to "undo" those commands. So deleted these 2 lines from
/etc/sysctl.conf but I can't neither change no delete the first two files, it says "permission denied" even when I say "sudo su" or just "sudo".