GCLI
COMMANDS
USE_CASES
INSTALL
PRICING
FAQ
ACTIVE
GPT
LOGIN / REGISTER
LOGIN
Use Cases
Real tasks GCLI can help with. Describe your goal; get safe, copy‑ready commands.
Databases
Goal
Create a Postgres database in Docker
Command
docker
run --name
postgres
-dev -e POSTGRES_PASSWORD=your_password -p 5432:5432 -d
postgres
:15
Goal
Backup quickly and safely
Command
pg_dump $DATABASE_URL > backup.sql
Debugging
Goal
See why the API keeps crashing
Command
journalctl -u api.service -xe | tail -200
Goal
Tail only errors from logs
Command
journalctl -u api.service -p err --since '10 min ago'
Kubernetes
Goal
Check cluster health
Command
kubectl
top nodes &&
kubectl
get events --sort-by='.lastTimestamp' | tail -20
Goal
Lock down traffic
Command
kubectl
apply -f network-policies/
CI/CD
Goal
Build and push Docker image from current commit
Command
docker
build -t myorg/app:$(git rev-parse --short HEAD) . &&
docker
push myorg/app:$(git rev-parse --short HEAD)
Goal
Check the latest pipeline status
Command
gh run list --limit 1
Security
Goal
See which ports are listening
Command
sudo lsof -i -P -n | grep LISTEN
Goal
Check TLS certificate expiry
Command
echo | openssl s_client -servername example.com -connect example.com:443 2>/dev/null | openssl x509 -noout -dates
System
Goal
Find top memory processes
Command
ps aux --sort=-%mem | head
Goal
Find large files in the repo
Command
du -ah . | sort -hr | head -20