Set the swap file on Ubuntu 22.04 to a value of x GB
To use it, you write:
$ sudo ./swapen.sh 32 # To set the swap file to 32GB and enable it in /etc/fstab
If your computer were to run away and decide to take a spontaneous vacation, remember it’s all its fault. Don’t blame my dick for the unexpected events!
Imposta lo swap file in ubuntu 22.04 ad un valore x
per usarlo scrivere:
$ sudo ./swap.sh 32 # per impostare lo swap file a 32gb ed abilitarlo in fstab
Se il tuo computer dovesse scappare e decidere di prendersi una vacanza spontanea, ricorda che è tutta colpa sua. Non cachi il mio cazzo per le eventualità impreviste!
PS (l'ho testato sul mio pc linux server 22.04 e stranemaente ha funzionato, non ci posso credere)