List all environment variables sorted
Print every environment variable in alphabetical order — handy when debugging missing config or checking what a script will see.
$ printenv | sort
# Or just search for a specific one:
printenv | grep -i path
envhunter2026-04-19
Delete this trick? This cannot be undone.