1. Home
  2. Computing & Technology
  3. Ruby

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
Explore Ruby
About.com Special Features

The Best Web Trends of the Decade

A look back at the best innovations, ideas and technologies over the last 10 years, More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Ruby
  4. Tutorials
  5. Using the Command Line

©2009 About.com, a part of The New York Times Company.

All rights reserved.