The Shell by Example: Part 2

In Part 1 of this tutorial we learned some basics about the shell and a set of useful commands for navigating and dealing with files. Here in Part 2 we’ll cover some real world scenarios for using the shell, along with some more advanced commands and operators that really illustrate the power of the shell in performing everyday tasks. So let’s get started! 1. Scaffolding a Project Let’s say you’re starting a new project, and you’re not using Yeoman or some other tool that scaffolds it for you.…

»

The Shell by Example: Part 1

In a nutshell (see what I did there), the shell is a program that allows you to interact with the core of your operating system by executing commands. You may think that this is an antiquated way to work on a computer given that we have graphical interfaces that perform similar functions. There is a reason why we continue to use it though. If you have some working knowledge of how to use the shell you’ll find that many tasks can be performed much more efficiently compared to navigating menus and clicking with the mouse.…

»