Cloud Explainers

How to Fix PostgreSQL 'Relation Does Not Exist' Errors

PostgreSQL8 min video

'relation does not exist' in PostgreSQL, fixed for beginners on a real database: what the message means, how PostgreSQL finds a table (the database you're connected to, the schemas on your search path, lowercase folding of unquoted names), and five real causes with their fixes: the wrong database in your connection address, capital letters in double quotes, a table in another schema, a schema you have no USAGE on, and a table that hasn't been committed.

How to Fix PostgreSQL 'Relation Does Not Exist' Errors, the full picture: diagram of Your Python app, shop database, postgres database, public schema, billing schema, orders, invoices, inside the shop database
The whole picture, from the video's recap.

The error, before and after

Your app stops with this error: relation orders does not exist. But the table is right there, and four quick checks show where PostgreSQL looked.

Same app, before and after the fix: comparison table of Before vs After, python3 app.py, The error, orders table, Where it looked, What changed

Here's that app, a few lines of Python. It connects fine, then the query fails with that same error. So where did PostgreSQL look?

dev@laptop: ~/app, your app
python3 app.pyTraceback (most recent call last):
  File "/home/dev/app/app.py", line 7, in <module>
    cur.execute("SELECT id, item, total FROM orders ORDER BY id")
psycopg2.errors.UndefinedTable: relation "orders" does not exist
LINE 1: SELECT id, item, total FROM orders ORDER BY id
                                    ^

UndefinedTable is Python's name for this error. Relation is PostgreSQL's word for a table. And the name in quotes is exactly what it searched for.

Read the error: diagram of UndefinedTable: relation "orders"..., UndefinedTable = Python's name for it, relation = a table, "orders" = the exact name searched, Same message from psql, Python or any other client

The quick fix: four checks

So here's the quick fix: four checks, in this order. Which database are you in? Is the name spelled exactly, capitals and all?

Four checks, in this order: comparison table of Ask vs Check with, 1. Database, 2. Name

Is the table in a schema PostgreSQL searches, and are you allowed into it? A schema is a kind of folder. And was the table saved for everyone to see? We'll run all four on a real database. But first: how can PostgreSQL miss a table that's right there?

Four checks, in this order: comparison table of Ask vs Check with, 1. Database, 2. Name, 3. Schema, 4. Commit, But first

How PostgreSQL finds a table

Picture an office building. You're inside one building: your database. You check only the floors on your list, and only those your key card opens. The name on the door must match, letter for letter. Miss any of those: the room does not exist.

Here's the real thing. One PostgreSQL server holds several databases, and a connection sees only one of them. Inside a database, tables live in schemas, like folders. Every database has one called public. When you type a name like orders, PostgreSQL checks your search path. That's a list of schemas, checked in order. It skips any schema you aren't allowed into. The first match wins. No match: relation does not exist.

The wrong database

Question one: which database? Your app reads its address from a settings file called.env, and the address ends in /postgres. That last part is the database name. Every new server comes with a default database called postgres. That makes it easy to copy by mistake. Now open psql, the PostgreSQL terminal tool, with that same address. Ask for orders, and you get the same error.

dev@laptop: ~/app, your app
cat .envDATABASE_URL=postgresql://app@db:5432/postgres
dev@laptop: ~/app, your app
psql postgresql://app@db:5432/postgrespsql (19.0 (Ubuntu 19.0-2.pgdg24.04+1))
Type "help" for help.
dev@laptop: ~/app, your app
postgres=> SELECT * FROM orders;ERROR:  relation "orders" does not exist
LINE 1: SELECT * FROM orders;
                      ^

Now ask PostgreSQL directly: select current_database, and it answers: postgres. pg_tables is PostgreSQL's own list of every table in this database. Search it for orders: zero rows. List the server's databases, and there's the other one: shop.

psql: logged in as app
postgres=> SELECT current_database(); current_database
------------------
 postgres
(1 row)
psql: logged in as app
postgres=> SELECT schemaname, tablename FROM pg_tables WHERE tablename ILIKE 'orders'; schemaname | tablename
------------+-----------
(0 rows)
psql: logged in as app
postgres=> SELECT datname FROM pg_database WHERE NOT datistemplate; datname
----------
 postgres
 shop
(2 rows)

Backslash commands are psql shortcuts, not SQL. \c, short for connect, switches databases. The prompt now reads shop, and orders has four rows. One habit worth keeping: glance at the prompt to see which database you're in, before you blame the table.

psql: logged in as app
postgres=> \c shopYou are now connected to database "shop" as user "app".
psql: logged in as app
shop=> SELECT * FROM orders; id |     item     | total
----+--------------+-------
  1 | coffee beans | 18.50
  2 | mug          | 12.00
  3 | grinder      | 89.00
  4 | filters      |  6.25
(4 rows)

Then fix the app itself. In.env, the end of the address changes from /postgres to /shop.

The one word: code change of ~/app/.env, DATABASE_URL=postgresql://app@db:5432/shop (postgres to shop)

Run it again, and the app lists all four orders.

dev@laptop: ~/app, your app
cat .envDATABASE_URL=postgresql://app@db:5432/shop
dev@laptop: ~/app, your app
python3 app.py1 coffee beans 18.50
2 mug 12.00
3 grinder 89.00
4 filters 6.25

Capital letters

Question two: the exact name. Your shop also has a customers table. Like many tables, it was made by a tool, not typed by hand. \dt, psql's shortcut for listing tables, shows it: Customers, capital C. So you type it exactly like that. Guess first: does it work? No. And the error names it in lowercase: customers. Not what you typed.

psql: logged in as app
shop=> \dt           List of tables
 Schema |   Name    | Type  | Owner
--------+-----------+-------+-------
 public | Customers | table | app
 public | orders    | table | app
(2 rows)
psql: logged in as app
shop=> SELECT * FROM Customers;ERROR:  relation "customers" does not exist
LINE 1: SELECT * FROM Customers;
                      ^

Here's why. PostgreSQL lowercases every name you don't put in double quotes, before it searches. Your capital C never arrives. But the tool did use quotes when it made the table, and a quoted name keeps its capitals. So the table really is called Customers, capital C, and an unquoted name can never match it.

Unquoted names are lowercased first: diagram of You type, PostgreSQL, It searches for, The tool ran, The table's name

Search pg_tables with ILIKE, which ignores capitals, and it's there: public, Customers. Fix one: use double quotes, exactly as it was made. Three rows. Fix two: rename it to lowercase, once. Only do that if nothing else still uses the old name. Now even a capital C with no quotes works: PostgreSQL lowercases it, and finds customers, small c.

psql: logged in as app
shop=> SELECT schemaname, tablename FROM pg_tables WHERE tablename ILIKE 'customers'; schemaname | tablename
------------+-----------
 public     | Customers
(1 row)
psql: logged in as app
shop=> SELECT * FROM "Customers"; id |     email
----+---------------
  1 | a@example.com
  2 | b@example.com
  3 | c@example.com
(3 rows)
psql: logged in as app
shop=> ALTER TABLE "Customers" RENAME TO customers;ALTER TABLE
psql: logged in as app
shop=> SELECT * FROM Customers; id |     email
----+---------------
  1 | a@example.com
  2 | b@example.com
  3 | c@example.com
(3 rows)

Another schema

Question three: which schemas? Your shop keeps its invoices in a schema of their own, called billing. Ask for invoices: does not exist. SHOW search_path lists where PostgreSQL looks. First comes a placeholder, $user. It means a schema with the same name as your login, if one exists. Then public. Billing isn't on the list.

psql: logged in as app
shop=> SELECT * FROM invoices;ERROR:  relation "invoices" does not exist
LINE 1: SELECT * FROM invoices;
                      ^
psql: logged in as app
shop=> SHOW search_path;   search_path
-----------------
 "$user", public
(1 row)

On the map, billing is right next door. We just have to tell PostgreSQL to look there.

\dn lists this database's schemas: billing and public. And the search finds invoices inside billing. Fix one: name the schema in the query. billing.invoices, and the three invoices come back.

psql: logged in as app
shop=> \dn       List of schemas
  Name   |       Owner
---------+-------------------
 billing | app
 public  | pg_database_owner
(2 rows)
psql: logged in as app
shop=> SELECT schemaname, tablename FROM pg_tables WHERE tablename ILIKE 'invoices'; schemaname | tablename
------------+-----------
 billing    | invoices
(1 row)
psql: logged in as app
shop=> SELECT * FROM billing.invoices; id | order_id | amount
----+----------+--------
  1 |        1 |  18.50
  2 |        2 |  12.00
  3 |        3 |  89.00
(3 rows)

Fix two: put billing on the search path for good. A role is PostgreSQL's word for a login. ALTER ROLE saves this search path for your login, app. But only new connections pick it up, so this one still shows the old path. Reconnect, and the path is public, then billing. A plain invoices works.

psql: logged in as app
shop=> ALTER ROLE app SET search_path = public, billing;ALTER ROLE
psql: logged in as app
shop=> SHOW search_path;   search_path
-----------------
 "$user", public
(1 row)
psql: logged in as app
shop=> \c shopYou are now connected to database "shop" as user "app".
psql: logged in as app
shop=> SHOW search_path;   search_path
-----------------
 public, billing
(1 row)
psql: logged in as app
shop=> SELECT * FROM invoices; id | order_id | amount
----+----------+--------
  1 |        1 |  18.50
  2 |        2 |  12.00
  3 |        3 |  89.00
(3 rows)

A schema you can't use

Question three has a second half: being allowed in. Your reporting tool logs in as a second user, called reporter. Its search path already starts with billing, right where the invoices are. This terminal is logged in as reporter. Keep a second one open, logged in as app, the user who owns billing. Guess first: what does reporter get for invoices? Relation does not exist. Again.

psql: logged in as reporter
shop=> SHOW search_path;   search_path
-----------------
 billing, public
(1 row)
psql: logged in as reporter
shop=> SELECT * FROM invoices;ERROR:  relation "invoices" does not exist
LINE 1: SELECT * FROM invoices;
                      ^

Why? Your key card doesn't open that floor. PostgreSQL silently skips any schema on the path that you aren't allowed to use.

Name the schema, and the real reason finally shows: permission denied for schema billing. A built-in check, has_schema_privilege, agrees. It answers f, for false. Reporter just isn't allowed into billing.

psql: logged in as reporter
shop=> SELECT * FROM billing.invoices;ERROR:  permission denied for schema billing
LINE 1: SELECT * FROM billing.invoices;
                      ^
psql: logged in as reporter
shop=> SELECT has_schema_privilege('billing', 'USAGE'); has_schema_privilege
----------------------
 f
(1 row)

Switch to the other window, the one logged in as app, which owns billing. From there, grant reporter usage on the schema. Now reporter's error changes: permission denied for the table. Usage only lets you into the schema. Reading a table needs select. Grant it, and the three invoices come back.

psql: logged in as app
shop=> GRANT USAGE ON SCHEMA billing TO reporter;GRANT
psql: logged in as app
shop=> SELECT * FROM invoices;ERROR:  permission denied for table invoices
psql: logged in as app
shop=> GRANT SELECT ON ALL TABLES IN SCHEMA billing TO reporter;GRANT
psql: logged in as app
shop=> SELECT * FROM invoices; id | order_id | amount
----+----------+--------
  1 |        1 |  18.50
  2 |        2 |  12.00
  3 |        3 |  89.00
(3 rows)

Not committed yet

Question four, the last one: was the table saved for everyone to see? Here's a table that exists for only one connection. In this window, a migration is running: a script that changes your tables. It starts with BEGIN. That opens a transaction, a group of changes no one else sees until they're saved.

psql: the migration's window
shop=> BEGIN;BEGIN

Now it creates a refunds table and adds a row. See the star in the prompt? That means the transaction is still open. In here, refunds works.

psql: the migration's window
shop=*> CREATE TABLE refunds (order_id INT, amount NUMERIC(8,2));CREATE TABLE
psql: the migration's window
shop=*> INSERT INTO refunds VALUES (2, 12.00);INSERT 0 1
psql: the migration's window
shop=*> SELECT * FROM refunds; order_id | amount
----------+--------
        2 |  12.00
(1 row)

From any other connection, like your app's, refunds does not exist, and pg_tables has no refunds at all. Until COMMIT, a new table is visible only inside its own transaction. Commit, and the other connection sees it straight away.

psql: any other connection
shop=> SELECT * FROM refunds;ERROR:  relation "refunds" does not exist
LINE 1: SELECT * FROM refunds;
                      ^
psql: any other connection
shop=> SELECT schemaname, tablename FROM pg_tables WHERE tablename ILIKE 'refunds'; schemaname | tablename
------------+-----------
(0 rows)
psql: any other connection
shop=*> COMMIT;COMMIT
psql: any other connection
shop=> SELECT * FROM refunds; order_id | amount
----------+--------
        2 |  12.00
(1 row)

Stop it coming back

To stop it coming back: end every connection address with the right database name. Name tables in lowercase, with no quotes. Put the schema name in your queries, and grant usage along with select. And make sure every migration commits.

Stop it coming back: cards of Name the database, Lowercase names, Schema + USAGE, Commit migrations

Recap

So relation does not exist means PostgreSQL looked somewhere your table isn't. Find where it looked, and you've found your table.

If this found your missing table, subscribe for more fixes like it. And a like helps YouTube show this to more beginners.

The demo files and every command are linked in the description, so you can break and fix all five yourself. Thanks for watching Cloud Explainers.

Sources

Demos: two containers on our own Mac standing in for your database server and your laptop. The shop and its tables are made up; every command, output and error was real. Watch the full video on YouTube.

More videos

Kubernetes10 min

Docker vs Kubernetes: What's the Difference?

HTTP & HTTPS11 min

Every HTTP Status Code You Need to Know

Git9 min

Git Merge vs Rebase: Which One Should You Use?

APIs10 min

How API Webhooks Work

LLM infrastructure9 min

How LLM Tokens Work

Docker9 min

Docker Containers vs Virtual Machines: What's the Difference?

PostgreSQL9 min

MySQL vs PostgreSQL: Which One Should You Use?

Local LLMs (Ollama)15 min

Ollama: Full Tutorial for Beginners

GitHub Actions15 min

GitHub Actions: Full Tutorial for Beginners

Certificates & PKI (ADCS)8 min

How to Fix Certificate Errors: 'Your Connection Is Not Private'

AWS9 min

How the Amazon Ergo AI Model Works

LLM infrastructure9 min

How to Fix LLM API Rate Limit Errors (429)

LLM infrastructure9 min

RAG vs Fine-Tuning: Which One Should You Use?

Load balancing & Nginx24 min

Nginx: Full Tutorial for Beginners

Go (Golang)5 min

Golang go func(): Starting Goroutines in 5 Minutes

Terraform23 min

Terraform: Full Tutorial for Beginners

Go (Golang)5 min

Golang Generics ([T any]) in 5 Minutes

AWS9 min

How AWS Bedrock Works

LLM infrastructure8 min

How LLM Embeddings Work

Python9 min

How to Fix Python CUDA Memory Errors in PyTorch

Go (Golang)5 min

Golang Type Assertions in 5 Minutes

LLM infrastructure10 min

CPU vs GPU for LLM Inference: What Actually Changes

Google Colab (Jupyter notebooks in the cloud)15 min

Google Colab: Full Tutorial for Beginners

AWS8 min

Amazon Bedrock vs OpenRouter: Which One Should You Use?

Go (Golang)5 min

Golang Channels (chan) in 5 Minutes

Homelab & self-hosting21 min

Tailscale: Full Tutorial for Beginners

LLM infrastructure9 min

How RAG Works

Git11 min

Every Git Setting to Change on Day One

Linux9 min

WSL vs a Linux Virtual Machine: Which One Should You Use?

PostgreSQL9 min

Every PostgreSQL Setting to Change After You Install It

Docker9 min

What Happens When You Install Docker on Ubuntu

Python8 min

How to Fix Python 'Address Already in Use' Errors

Go (Golang)5 min

Golang Interfaces and Mocks in 5 Minutes

Git7 min

How to Fix Git 'Detached HEAD' State

Linux21 min

Linux Firewall with ufw: Full Tutorial for Beginners

Go (Golang)5 min

Golang defer Statements in 5 Minutes

Auth (OAuth, JWT)9 min

How to Fix OAuth 'invalid_grant' Errors

Databases & SQL11 min

The SQL Roadmap for Beginners

Go (Golang)5 min

Golang make() for Slices and Maps in 5 Minutes

Networking7 min

How to Fix Network 'No Route to Host' Errors on Linux

Linux6 min

How to Fix Linux 'Too Many Open Files' Errors

Django (Python web framework)11 min

Every Django Concept a Beginner Needs to Know

Linux24 min

SSH on Linux: Full Tutorial for Beginners

Go (Golang)5 min

Golang for range Loops in 5 Minutes

Databases & SQL10 min

SQL Databases: SQLite vs PostgreSQL

Django (Python web framework)10 min

The Django Roadmap for Beginners

Go (Golang)5 min

Golang Structs in 5 Minutes

Caching & Redis22 min

Redis: Full Tutorial for Beginners

Go (Golang)5 min

Golang context.Context in 5 Minutes

Databases & SQL7 min

How to Fix MySQL Database Error 1045: Access Denied for User

Go (Golang)5 min

Golang Method Receivers in 5 Minutes

Python8 min

How to Fix Python SSL: CERTIFICATE_VERIFY_FAILED Errors

Django (Python web framework)9 min

How to Fix Django Static Files Not Loading in Production

OpenRouter (one API for many AI models)8 min

OpenRouter vs Direct API Keys: Which One Should You Use?

Go (Golang)5 min

Golang if err != nil Checks in 5 Minutes

Go (Golang)8 min

How to Fix Golang 'go.mod File Not Found' Errors

AI agents & MCP22 min

MCP Servers: Full Tutorial for Beginners

Go (Golang)5 min

Golang Error Return Values in 5 Minutes

Python8 min

How to Fix Python ModuleNotFoundError: No Module Named

Go (Golang)5 min

Golang Pointers in 5 Minutes

Kubernetes8 min

How to Fix a Kubernetes Pod Stuck in CrashLoopBackOff

Homelab & self-hosting9 min

How to Fix a Homelab ESXi Host Not Responding

PostgreSQL24 min

PostgreSQL: Full Tutorial for Beginners

Load balancing & Nginx9 min

How a Load Balancer Works with HAProxy

Python9 min

How Python Virtual Environments Work

Homelab & self-hosting9 min

How to Fix Cloudflare Tunnel Errors in a Homelab

APIs9 min

How to Fix API CORS Errors: No 'Access-Control-Allow-Origin'

Auth (OAuth, JWT)9 min

How Authenticator App Login Codes Work (TOTP)

Git22 min

Git and GitHub: Full Tutorial for Beginners

Homelab & self-hosting10 min

How a Homelab Hypervisor Works (VMware ESXi)

Kubernetes9 min

How to Fix Kubernetes ImagePullBackOff Errors

DNS8 min

How to Fix DNS 'Temporary Failure in Name Resolution' on Linux

AWS8 min

How to Fix AWS CLI 'Unable to Locate Credentials'

Homelab & self-hosting10 min

Proxmox vs ESXi for Your Homelab: When Each One Wins

PostgreSQL10 min

PostgreSQL UUID vs Auto Increment: Which Primary Key Should You Use?

Kubernetes21 min

Kubernetes: Full Tutorial for Beginners

Networking9 min

How TCP Sockets Work

PostgreSQL7 min

How to Fix PostgreSQL 'Could Not Connect to Server'

Claude & the Claude Developer Platform9 min

Claude Code Hooks Will Finally Make Sense After This

DevOps & CI/CD9 min

DevOps with Ansible Will Finally Make Sense After This

Networking9 min

How SNMP Network Monitoring Works

Git8 min

How to Fix GitHub 'Permission Denied (publickey)' Errors

Docker21 min

Docker: Full Tutorial for Beginners

PostgreSQL7 min

How to Fix PostgreSQL 'Password Authentication Failed'

Linux8 min

Why One Linux Server Handles More Users Than You Think

Networking7 min

How to Fix Network 'Connection Refused' Errors

DevOps & CI/CD9 min

DevOps Pipelines: Jenkins vs GitHub Actions

Linux11 min

Linux Nginx Reverse Proxy: Full Tutorial for Beginners

Networking11 min

Every Networking Term a Beginner Needs in 12 Minutes

Docker6 min

How to Fix Docker 'Permission Denied' on docker.sock

Git7 min

How to Fix Git 'Updates Were Rejected' When You Push

Linux7 min

How to Fix nginx 502 Bad Gateway Errors on Linux

Linux8 min

How to Fix Linux apt 'Could Not Get Lock' Errors (Ubuntu)

Networking9 min

How Email Works on the Internet (SMTP) in 10 Minutes

Python8 min

The Python Roadmap for Beginners

Go (Golang)21 min

Golang REST API with Gin: Full Tutorial for Beginners

Networking10 min

How a WireGuard VPN Network Works

Linux9 min

Linux Makefiles Will Finally Make Sense After This

Auth (OAuth, JWT)9 min

SAML vs OAuth vs OpenID Connect: What's the Difference?

Python7 min

How to Fix Python cron Jobs That Never Run

Linux22 min

Linux Bash Scripting: Full Tutorial for Beginners

Networking10 min

How PXE Network Boot Works

Active Directory9 min

How Active Directory Works

Linux10 min

How to Fix a Linux systemd Service That Won't Start

Linux9 min

Linux Logs: syslog vs journald

Auth (OAuth, JWT)9 min

JWT vs Session Cookies: Which One Should You Use?

Docker10 min

Docker vs Docker Compose: Which One Should You Use?

Docker9 min

How to Fix Docker Compose Containers That Can't Talk to Each Other

Django (Python web framework)22 min

Django Full Tutorial for Beginners

Linux9 min

How Linux systemd Works

Networking8 min

How to Fix 'Windows Cannot Access' Network Share Errors (SMB)

APIs10 min

REST vs gRPC: Which One Should You Use?

Certificates & PKI (ADCS)9 min

How to Fix SSL Certificate Chain Errors (Missing Intermediate)

Python9 min

Every Python Concept for Beginners in 10 Minutes

Databases & SQL9 min

Every SQL Join Type in 10 Minutes

OpenRouter (one API for many AI models)9 min

Why OpenRouter Free Models Hit Their Limit So Fast

Gemini API & Google AI Studio9 min

Why Your Gemini API Free Tier Runs Out So Fast

OpenRouter (one API for many AI models)10 min

OpenRouter Will Finally Make Sense After This

Caching & Redis10 min

How Redis Caching Works

Gemini API & Google AI Studio10 min

Gemini API vs Vertex AI: Which One Should You Use?

Gemini API & Google AI Studio8 min

How to Fix a Leaked Gemini API Key

Go (Golang)9 min

Why Golang Uses Goroutines Instead of Threads

Gemini API & Google AI Studio9 min

How to Fix Gemini API Error 429: Resource Exhausted

Claude & the Claude Developer Platform10 min

Claude Token Pricing Will Finally Make Sense After This

Python11 min

Why Python Web Scraping Returns Nothing (and the Fix)

Python10 min

Python uv vs pip: Which One Should You Use?

Python22 min

Python Automation: Full Tutorial for Beginners

Auth (OAuth, JWT)9 min

How OAuth Login Works

Gemini API & Google AI Studio10 min

Google AI Studio Will Finally Make Sense After This

Docker10 min

What Happens When You Run a Docker Container

Claude & the Claude Developer Platform8 min

How to Fix Claude Code Billing Your API Key Instead of Your Plan

Auth (OAuth, JWT)9 min

Why Passkeys Can't Be Phished Like Passwords

PowerShell10 min

PowerShell vs Bash: Which One Should You Learn?

Linux10 min

The Linux Roadmap for Beginners

Django (Python web framework)9 min

Django vs FastAPI: Which One Should You Use?

Databases & SQL10 min

Why SQLite Is the Most Used Database in the World

Databases & SQL11 min

How a NoSQL Database Like MongoDB Works

Python11 min

How to Fix Python pip error: externally-managed-environment

Databases & SQL9 min

How to Fix MySQL Too Many Connections Database Errors

Go (Golang)9 min

Golang Concurrency Will Finally Make Sense After This

AWS10 min

How Amazon S3 Works

Kubernetes10 min

How Kubernetes Works

Git10 min

How Git Works

Docker10 min

How to Fix Docker Port Already Allocated Errors

PostgreSQL10 min

How PostgreSQL Works

Git8 min

How to Fix Git Merge Conflicts

Linux9 min

How to Fix No Space Left on Device in Linux

Networking10 min

How the Internet Works

Databases & SQL9 min

SQL vs NoSQL: When Each One Wins

Auth (OAuth, JWT)8 min

How to Fix JWT Token Expired Errors (401 Unauthorized)

Claude & the Claude Developer Platform9 min

Claude API vs Claude Pro: Why Your Subscription Doesn't Include It

AI agent skills9 min

Why AI Agent Skills Beat Giant Prompts

Linux10 min

Linux Cron Jobs Will Finally Make Sense After This

Cybersecurity10 min

Security Logs Will Finally Make Sense After This

Cybersecurity8 min

How to Fix a Security Leak: An API Key Pushed to GitHub

DNS9 min

DNS Will Finally Make Sense After This

Cybersecurity9 min

Never Ignore a Security Update

Auth (OAuth, JWT)9 min

Two-Factor Authentication Will Finally Make Sense

Networking8 min

Never Expose a Database to the Internet

Cybersecurity10 min

SSH Keys vs Passwords: Which Is Safer for Security?

Linux10 min

The 5 Levels of Linux Boot: From Power On to Login

Networking12 min

The 5 Levels of Network Firewalls

Cybersecurity10 min

Password Security: Why Hackers Crack Weak Passwords

Linux9 min

Why Your Linux Server Runs Out of Memory

Networking10 min

HTTP vs HTTPS: What Actually Changes on Your Network

Linux12 min

Every Linux File Permission You Need to Know

Linux10 min

Linux Processes vs Threads: When Each One Wins

Networking11 min

The OSI Model Will Finally Make Sense After This

Git11 min

The 7 Levels of Git

Networking10 min

Every Network Troubleshooting Command You Need

Cybersecurity10 min

Hashing vs Encryption in Cybersecurity: When Each One Wins

Networking11 min

Why the Internet Ran Out of IP Addresses

Linux11 min

Linux Package Managers: apt vs Snap vs Flatpak

Python9 min

Why Python Is Slow (and When It Doesn't Matter)

Networking11 min

TCP vs UDP: When Each One Wins

Linux8 min

Stop Running Linux as Root (Do This Instead)

Linux11 min

Linux Users and Groups Will Finally Make Sense

Cybersecurity9 min

Why Phishing Beats Good Security (and How to Spot It)

Docker12 min

The 7 Levels of Docker

AI agents & MCP12 min

AI Agents Will Finally Make Sense After This

Git8 min

Stop Using git push --force (Use This Instead)

AI agent skills10 min

Agent Skills vs MCP: When Each One Wins

Networking12 min

Networking Will Finally Make Sense After This

Linux12 min

Every Linux Command You Actually Need

Cybersecurity12 min

The 7 Levels of Cybersecurity

System design12 min

Every System Design Concept You Need, in One Diagram

PostgreSQL10 min

Why PostgreSQL Ignores Your Index