You're in the middle of a Raspberry Pi project, when all of a sudden you realize there's something wrong: fixing it means editing the config.txt file, which is found in the /boot/ directory.

But what is the easiest way to access this file while the Raspberry Pi is still running? And if you have to shut down to retrieve the microSD card, how should you edit it? Here's everything you need to know.