Intro the the Command Line

Introduction to the Command Line

  • The command line is the heart of your operating system

  • Almost anything you can do from a GUI (Graphical User Interface), you can also do from the command line, but FASTER!

  • We’ll learn how to navigate computer files and folders using the terminal; this will help us when we start working with git and GitHub

Command Line Basics

Here are some important UNIX commands to know as you’re working on the terminal.

Command Description Command Description
ls List the contents of the directory atom Open atom
cd Change directories pwd Print working directory
mkdir Make directory say Make your computer talk
rmdir Remove empty directories open Open a particular file in their default application
rm Remove files or directories ./ The current folder
touch Create an empty file ../ One folder above your current working directory
echo Return a string ~/ The home folder