Post

Delete database entries via bash alias

Delete database entries via bash alias

1
alias delprn='psql "host=127.0.0.1 port=5432 sslmode=disable user=rednetwork password=password" <<< "delete from port_range_networks where id between 1 and 10000;"'
This post is licensed under CC BY 4.0 by the author.