Slide 1

Slide 1 text

Introduction to the Command-Line Zach Latta September 25, 2013

Slide 2

Slide 2 text

Fundamentals ls List files and directories in the current directory. cd [dir] Change the current directory to dir. mkdir [name] Create a new directory with the name specified. cp [source] [dest] Copy source into dest. mv [source] [dest] Move source to dest. This can also be used to rename files. rm [file] Remove file permanently. man [command] Open manual page for a command.

Slide 3

Slide 3 text

Editing Text nano [filename] Open filename in the nano text editor.

Slide 4

Slide 4 text

Editing Text (cont.) Ctrl+O Save current document. Ctrl+W Search in current document. Ctrl+G Open help. Ctrl+X Exit nano. ...and more! The bottom of nano has some common commands. Also read the help.