CS 101: Command Line Basics
Click here to return to the schedule

YouTube Videos

ubuntu offers a beginner's tutorial. Sections 1 through 5 are relevant to this class but sections 6 through 9 provide additional information if curious. Starting with CS149, many of the CS classes make use of the command line interface on the Linux operating system. For this week's lab, you should not only be familiar with moving around the command line (video #1), but also how to copy/move/delete files (video #2).

Ideally you should follow along while watching the videos on your own computer. If you have a Mac, simply run the Terminal application that comes with OS X. If not a Mac, use one of the laptops in class or go to one of the department Linux labs. The labs and how to log on are described in the lab material.

Part 1: Moving Around the Command Line

Don't forget: the up/down arrows and the tab key are your best friends when working on the command line. Pay close attention to how the video demonstrates tab-completion.

Part 2: Copy, Move, Delete on Command Line

Of course you can do all of these tasks in a graphical file manager. But if you learn how to navigate the file system from the terminal, you will be a lot more productive as a computer user.