homepage: https://webinstall.dev/vps-utils
tagline: |
VPS Utils make it easy to setup and manage a VPS
-description: |
- VPS Utils includes shortcut commands for some common tasks, including `cap-net-bind`, 'vps-addswap', and 'vps-myip'
---
-**cap-net-bind**:
+## Cheat Sheet
-`cap-net-bind` will give the specified program the ability to listen on
+> VPS Utils includes shortcut commands for some common tasks, including
+> `setcap-netbind`, 'vps-addswap', and 'myip'
+
+**setcap-netbind**:
+
+`setcap-netbind` will give the specified program the ability to listen on
privileged ports, such as 80 (http) and 443 (https) without `root` privileges or
`sudo`.
```bash
-sudo cap-net-bind node
+sudo setcap-netbind node
```
This is the same as running the full command:
setcap 'cap_net_bind_service=+ep' $(readlink -f $(which node))
```
-**vps-myip**:
+**myip**:
Will output externally detected IPv4 and IPv6 addresses. See
<https://webinstall.dev/vps-myip>.
```bash
-vps-myip
+myip
```
```txt