Linux, terminal and Git

Stage 8 · Lesson 9 of 9

A method for debugging your environment

SSH, servers and debugging

Most setup problems give way to the same calm method. Think of it as an . Read the whole error message, especially the first line and any file path in it.

Ask what changed since it last worked. Then check the usual suspects in turn. Which program actually runs (which, type -a)?

Is PATH right? Are permissions and file owners right? Are the set?

Is the disk full? Which and are in use? What do the logs say?

Reproduce the problem with the smallest possible command. Change one thing at a time and write down what you tried. When you ask for help, include the command, the full error and what you already checked.

Common trapcopying fixes from search results until something works, without learning why it broke.

A question to check yourself, an AI practice session and 2 cheat sheet entries come when you add the roadmap to your account. Add it

Resources for this stage

Start with· follow one of these

Practise

Keep handy

Also worth your time

  • The server, networking and troubleshooting branches of the Linux map

Mark this stage as not done?