Coding Challenges/Build Your Own Shell (Go Edition)

  • $50

Build Your Own Shell (Go Edition)

  • Course
  • 33 Lessons

Build your own Shell in Go is a self-paced online course that teaches you what you need to know to complete the "Build your own Shell Coding Challenge" in Go, saving you weeks (if not months) of learning along the way.

🎯 No filler content. Concise lessons with practical advice.

🐣No experience writing a Shell is necessary.

🧑🏽‍💻 Guided coding exercises along the way.

⏳Purchase once, access forever.

🚀 Always up to date.

Contents

Step 0 - Setting Up

Getting your project set up and ready to go.

What We're Going To Build
Preview
Create a GitHub Repo
Initialise the Go Module

Step 1 - Create The Simplest Possible Command Line Shell

Building our first working Shell.

Step 1 - Challenge: The Simplest Possible Shell
Preview
Building The Simple Shell
Step 1 - Solution: The Simplest Shell

Step 2 - Challenge: Handle Multiple Commands

Step 2 - Challenge: Handling Multiple Commands
Preview
Exiting From The Shell
Handling Multiple Commands
Step 2 - Solution: Handling Multiple Commands

Step 3 - Non Existent Commands

Step 3 - Challenge: Handling Non-Existent Commands
Preview
Catching And Handling Errors
Step 3 - Solution: Handling Non-Existent Commands

Step 4 - External Commands With Arguments

Step 4 - Challenge: Commands With Arguments
Preview
Handling The Arguments
Step 4 - Solution: Handling The Arguments

Step 5 - Built-in Commands

Step 5 - Challenge: Implement Builtin Commands
Preview
Adding The Builtin Commands
Step 5 - Solution: Implementing Builtin Commands

Step 6 - Support Pipes

Step 6 - Challenge: Supporting Pipes
Preview
Approaching The Task Of Piping Commands
Piping Commands - The Walking Skeleton
Supporting Piping For Builtin Commands
Step 6 - Solution: Supporting Pipes

Step 7 - Handling Signals

Step 7 - Challenge: Handling Signals
Preview
Handling Signals In Go
Step 7 - Solution: Handling Signals

Step 8 - Command History

Step 8 - Challenge: Command History
Preview
Handling History
Some Refactoring - Pulling Out Pwd
The History Solution
Step 8 - Solution: Command History

Conclusion

Taking It Further And Wrapping Up

Frequently asked questions

You’ve got questions. We’ve got answers.

Who specifically is this course for?

Any professional or soon-to-be software developer who wants to improve their coding skills by using Go to build a Shell.

How much Go experience do I need?

I won't be teaching Go on the course. I will assumed you at least know how to write a run and basic program in Go. You don't need to have gone any further than that - it's a great project to use to learn [more] Go.

Can I see a sample before purchasing?

Several parts of the course are available to preview, they're marked with a 'Preview button'.

Can I use my learning and development budget at work to pay for this course?

Most companies simply require a receipt. If you need anything more please contact me with what you need and I'll help out.

Do I get lifetime access?

Absolutely. You can access it for as long as you'd like with no extra payment.