Categories
Linux Tutorial Series

Linux Tutorial Series – 54 – Handling errors on the command line

Here is the video version, if you prefer it:

Just wanted to write a short piece on how to handle errors related to commands on the command line. Here’s how:

When you get an error, Google the relevant keywords and look at the answers. This may seem obvious, but there is probably someone that already had the same (or similar) problem and you will take care of it by Googling.

Let’s say you get a “Permission denied” error when trying to run the rm command. Then you can Google:

“permission denied rm”

or something similar.

In my perspective, the goal is to understand Linux good enough to know what is going on so that you place the things you read on the Internet in their proper context (and not just blindly copy/paste commands and hope it works). When you have the idea how the puzzle pieces fit together, then you can Google for the specific things when the need arises.

Thank you for reading!

NewsletterUpdates on interesting things I am doing

Subscribe to my newsletter to keep abreast of the interesting things I'm doing. I will send you the newsletter only when there is something interesting. This means 0% spam, 100% interesting content.

Leave a Reply

Your email address will not be published. Required fields are marked *