Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Quetzalcohuatl/667efb3bd251519fd51491851956f79b to your computer and use it in GitHub Desktop.
Save Quetzalcohuatl/667efb3bd251519fd51491851956f79b to your computer and use it in GitHub Desktop.
(Inspired from howtogeek.com/659529/how-to-check-memory-usage-from-the-linux-terminal/
free -m | grep Mem | awk '{print ($3/$2)*100}'
to show storage:
df -h
to show the biggest folders in terminal (found this one online):
du -a /path/to/folder | sort -n -r | head -n 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment