Skip to content

Instantly share code, notes, and snippets.

@Azmandius21
Last active October 26, 2024 11:27
Show Gist options
  • Save Azmandius21/ecde1809379452defa7d4891091aede1 to your computer and use it in GitHub Desktop.
Save Azmandius21/ecde1809379452defa7d4891091aede1 to your computer and use it in GitHub Desktop.
cheatsheet about cli commands
whoami = show user name
pwd
sudo systemctl restart postgresql = restart postgresql
htop = process manager
sudo lsof -i:6379 = to check witch process is listening port 6379
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment