Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Cheat sheet: Difference between revisions

From posixlycorrect wiki
(Created page with "This is a simple list of useful commands for use in the VPS. Some of the commands are self-explanatory and no description is needed. {| class="wikitable" |+Commands !Command !Description !Note |- |nixos-rebuild switch --build-host root@posixlycorrect.com --target-host root@posixlycorrect.com --use-substitutes --flake .\#vps | | |- |sudo -u postgres psql | | |- | | | |}")
 
No edit summary
Line 15: Line 15:
|
|
|-
|-
|
|sudo ss -tpn
|
|Check current connections
|
|
|}
|}

Revision as of 23:46, 7 August 2024

This is a simple list of useful commands for use in the VPS. Some of the commands are self-explanatory and no description is needed.

Commands
Command Description Note
nixos-rebuild switch --build-host root@posixlycorrect.com --target-host root@posixlycorrect.com --use-substitutes --flake .\#vps
sudo -u postgres psql
sudo ss -tpn Check current connections