INTRODUCTION The terminal, the shell, and The COMMAND-LINE-Interface In a Nutshell
TERMINAL "The terminal" can refer to a few things. In this case, it is a GUI application (Graphical User Interface). It takes input from the keyboard and displays output to a little white window.
SHELL A "shell" runs in the terminal to interpret the commands from the user. The shell we'll be using today takes commands from a "Command Line Interface" (CLI). The shell is sometimes called a "Command Line Interpreter."
COMMAND LINE INTERFACE (CLI) A CLI means commands are text-based rather than graphically-based. The mouse is one way to use graphically-based commands.
*MAC ONLY* These instructions are for Mac only.
TASK 1 Open your terminal
Open a Finder window. Under Applications, select Utilities. In the Utilities folder, click Terminal.
Double-clicking on Terminal.app will open up the terminal:
This is the Terminal.
Your Terminal has a shell operating behind the scenes. The shell interprets the commands you type in and carries out your bidding.
TASK 2 enter your first command
The first command we'll use today is echo. At its simplest, it parrots back whatever comes after it... It "echoes" you.
Try this out: echo hello world (Just type that in an press enter)