Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 2.44 KB

01_intro.md

File metadata and controls

35 lines (24 loc) · 2.44 KB

Intro

Did you run through the setup yet?

Setup

What is so great about the command line?

  • The command line gives us power.
  • The command line gives us productivity.
  • The command line is reliable.
  • The command line crosses the bounds of your computer.

Many tools you may be familiar with - your IDE, Finder/Windows Explorer, SourceTree, Photoshop, etc. - abstract these bits away from us so that we don't need to be concerned about how and why they work the way they do. In some cases, this is great and it’s exactly what we want. But understanding the command line and knowing how to use it can actually provide us benefit.

Benefits

The command line gives us power.

  • You get to tell the computer exactly what you want it to do.

The command line gives us productivity.

  • Instead of navigating through a bunch of menus and screens with your mouse and tabbing back and forth between different applications, you type the commands. Your fingers never have to leave the keyboard. This might seem minor, but it’s actually HUGE in terms of productivity.
  • Graphical UIs can take up more computer resources than the command line.

The command line is reliable.

  • Some of these commands have been around since the 1970s. They change less frequently than our graphical UI counterparts. And the graphical UI counterparts quite often are using these same or similar commands under the covers.
  • They work the same across operating systems. Graphical tools very often do not, if they are even supported on all OSs.

The command line crosses the bounds of your computer.

  • What if your datacenter is at Amazon in New York and you reside in Minneapolis? How do you restart that web server? Fly to New York and knock on Amazon's door? Nope. You use the power of the command line and the Internet to run that command remotely.
  • What if your app runs in a cluster of servers and you want each of those to be identical? The command line is just a start to being able to automagically provision hundreds of servers with tools like Ansible, Chef, and Puppet.

Additionally, many technical documents, tutorials, how-to docs assume some knowledge of the command line. Some of the best development tools are specifically meant to run at the command line and not through a graphical interface - grunt, apache, node, etc.

Back: Setup Forward: Getting Started