7 lines
185 B
Bash
7 lines
185 B
Bash
#!/usr/bin/env bash
|
|
|
|
echo
|
|
echo "Your list of paired machines and their Device IDs and names:"
|
|
echo
|
|
su - postgres -c "psql \"lamassu\" -Atc \"select device_id, name from devices\""
|
|
echo
|