Created
December 22, 2022 12:53
-
-
Save luisangelorjr/8f0ad45ed0c5fbba19b0f8f1b672afb8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo dd if=/dev/zero of=/swap_file bs=6GB count=6 | |
sudo chmod 600 /swap_file | |
sudo mkswap /swap_file | |
sudo swapon /swap_file | |
sudo snap install htop | |
htop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment