The Unix Shell Adventure

The Unix shell has been around longer than most of its users have been alive. It has survived so long because it’s a power tool that allows people to do complex things with just a few keystrokes. More importantly, it helps them combine existing programs in new ways and automate repetitive tasks so they aren’t typing the same things over and over again. Use of the shell is fundamental to using a wide range of other powerful tools and computing resources (including “high-performance computing” supercomputers).

You are going to learn to use these tools and solve a crime at the same time!

Prerequisites

This lesson guides you through the basics of file systems and the shell. If you have stored files on a computer at all and recognize the word “file” and either “directory” or “folder” (two common words for the same thing), you’re ready for this lesson.

If you’re already comfortable manipulating files and directories, searching for files with grep and find, and writing simple loops and scripts, you probably won’t learn much from this lesson.

Schedule

Setup Download files used in the lesson.
00:00 1. Introducing the Shell Adventure What is a command shell and why would I use one?
00:05 2. Background (Moving Around) How can I move around on my computer?
How can I see what files and directories I have?
How can I specify the location of a file or directory on my computer?
00:20 3. Banking Issues (Files) How can I create, copy, and delete files and directories?
How can I edit files?
00:35 4. Communication Skills (Pipes) How can I combine existing commands to do new things?
00:50 5. Contacts (grep) How can I perform the same actions on many different files?
01:05 6. Too Many Files (find) How can I save and re-use commands?
01:20 7. The Decrypted Truth (Loops) How can I perform the same actions on many different files?
01:35 Finish

The actual schedule may vary slightly depending on the topics and exercises chosen by the instructor.