Skip to content

Instantly share code, notes, and snippets.

@luisangelorjr
Created December 22, 2022 12:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save luisangelorjr/8f0ad45ed0c5fbba19b0f8f1b672afb8 to your computer and use it in GitHub Desktop.
Save luisangelorjr/8f0ad45ed0c5fbba19b0f8f1b672afb8 to your computer and use it in GitHub Desktop.
#!/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