Add a static route with netplan in Ubuntu 18.04, 20.04, 22.04 and 24.04

How to add a temporary static route with ip route and a persistent route with netplan in Ubuntu 18.04, 20.04, 22.04 and 24.04.

In this post we see how to add a static route in Ubuntu using ip route and netplan.

The ip route command is useful for adding a temporary route. To keep the route configured persistently in Ubuntu 18.04, 20.04, 22.04 and 24.04, we will use netplan.

Continue reading “Add a static route with netplan in Ubuntu 18.04, 20.04, 22.04 and 24.04”

Listing all columns from a PostgreSQL database

In this short post, we are going to learn how to list all columns of every table in a PostgreSQL database.
We want to get the table schema, the name of the table, the name of the column and the data type defined for that column. Continue reading “Listing all columns from a PostgreSQL database”