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

YouTube Videos

Lullabot.com created a great series of video tutorials about the Unix command line interface or "Terminal" for short. If you're in CS 139/149, you may have already seen the first video below. 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, either in the Linux lab or on your own computer. If you have a Mac, simply run the Terminal application that comes with OS X. If you have a PC, you may install PuTTY (download putty-0.63-installer.exe) and connect to the CS Department's Linux server over the Internet. (After running PuTTY, enter student.cs.jmu.edu for the hostname, then click "Open" and log in using your JMU account.)

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.