1. Technology
You can opt-out at any time. Please refer to our privacy policy for contact information.

Using the Command Line

By

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. Technology
  3. Ruby
  4. Beginning Ruby
  5. Using the Command Line

©2014 About.com. All rights reserved.