Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 16 lines (11 sloc) 222 Bytes
#!/usr/bin/env bash
set -eu -o pipefail
if (( EUID )); then
echo 'This script must be run with root privileges.' >&2
exit 1
fi
nft list tables | while read -r table; do
echo
nft list "$table"
done
echo