Complete HAProxy keyboard shortcuts and commands reference — 15 shortcuts across 3 categories. Quick reference cheat sheet for Windows & Mac.
HAProxy is a popular infrastructure management tool used by professionals worldwide. Learning keyboard shortcuts can dramatically speed up your workflow — studies show shortcut users save an average of 8 days per year compared to mouse-only users.
This page covers all 15 HAProxy shortcuts across 3 categories: CLI Commands, Stats & Runtime API, Config Tips. Each shortcut includes a description to help you understand when and how to use it effectively.
| Shortcut | Action |
|---|---|
| haproxy -f /etc/haproxy/haproxy.cfg | Start with config |
| haproxy -c -f /etc/haproxy/haproxy.cfg | Validate config |
| systemctl reload haproxy | Graceful reload |
| systemctl restart haproxy | Restart |
| haproxy -f haproxy.cfg -p haproxy.pid -D | Daemon mode |
| Shortcut | Action |
|---|---|
| echo "show info" | socat stdio /var/run/haproxy.sock | Show info |
| echo "show stat" | socat stdio /var/run/haproxy.sock | Show stats |
| echo "show servers state" | socat stdio /var/run/haproxy.sock | Server state |
| echo "disable server backend/server1" | socat stdio /var/run/haproxy.sock | Disable server |
| echo "enable server backend/server1" | socat stdio /var/run/haproxy.sock | Enable server |
| Shortcut | Action |
|---|---|
| balance roundrobin | Round-robin LB |
| balance leastconn | Least connections |
| option httpchk GET /health | Health check |
| timeout connect 5s | Connect timeout |
| maxconn 10000 | Max connections |
The most essential HAProxy shortcuts are: haproxy -f /etc/haproxy/haproxy.cfg (Start with config), haproxy -c -f /etc/haproxy/haproxy.cfg (Validate config), systemctl reload haproxy (Graceful reload). These cover the most frequent actions and can significantly speed up your workflow.
HAProxy has 15 keyboard shortcuts across 3 categories on shortcut-tools.com.
Simply press the key combination while HAProxy is focused. Most shortcuts work immediately. On Mac, replace Ctrl with Cmd and Alt with Option for most shortcuts.
The HAProxy shortcut for start with config is haproxy -f /etc/haproxy/haproxy.cfg.
Start with the essentials: Learn haproxy -f /etc/haproxy/haproxy.cfg (Start with config) and haproxy -c -f /etc/haproxy/haproxy.cfg (Validate config) first — these are the most commonly used.
Practice daily: Pick 2–3 new shortcuts each day and consciously use them instead of the mouse. Within a week, they become muscle memory.
Print this cheat sheet: Keep a reference nearby until shortcuts become automatic. Focus on the CLI Commands category first.
Infrastructure tip: Bookmark this page for quick reference during maintenance windows when speed matters most.