Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Introduction to the Command-Line

Zach Latta
September 25, 2013

Introduction to the Command-Line

A brief introduction to the command-line.

Zach Latta

September 25, 2013
Tweet

More Decks by Zach Latta

Other Decks in Programming

Transcript

  1. 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.
  2. 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.