A quick, one-lesson introduction to the Unix-style command-line environment.
This course is intended to get you up to speed on the shell — using a terminal, managing files and directories, and running command-line programs.Why Take This Course?
Although the Unix shell has an "old school" feel, it remains an important skill, due to the incredible popularity of Unix-like systems: The majority of web servers in the world today run on Linux, and the same bash command line is shipped with every Mac computer.
Using the shell is a prerequisite for many other developer skills including version control (such as git) and deployment.
Opening a terminal
Your first command (echo)
Working with directories
Navigating directories (ls, cd, ..)
Current working directory (pwd)
Parameters and options (ls -l)
Organizing your files (mkdir, mv)
Working with files
Viewing files (cat, less)
Removing things (rm, rmdir)
Searching and pipes (grep, wc)
Customizing the shell
Shell and environment variables
Startup files (.bash_profile)