1. Computing

Using the Command Line

By , About.com Guide

3 of 10

Navigate to the Ruby Directory

The first command to learn is the cd command, which will be used to get to the directory where you keep your Ruby files. The command below will change directory to the \scripts directory. Note that on Windows systems, the backslash character is used to delimit directories but on Linux and OS X, the forward slash character is used.

C:\ruby>cd \scripts
  1. About.com
  2. Computing
  3. Ruby
  4. Beginning Ruby
  5. Using the Command Line

©2013 About.com. All rights reserved.