Tuesday, July 3, 2012

Ruby Programming Language Note: Basic Commands for cmd.exe


Ruby Programming Language Note


The first class of learning ruby is not learning ruby language, but leaning some command for cmd.exe. It's because we data miners don't use Interactive Ruby, but Command Prompt Ruby.
we run ruby on cmd.exe.



command                           description
---------------------------------------------------------------------------------------------------
dir                                      list the files/directory under the current directory
                                          Its equivalent is ls on Linux and OS

cd                                      enter the directory/ file

cd ..                                   return to the previous directory, remember the space before tow
                                         periods.  // very similar to Linux commnad ^^
mkdir                                 make directory

move                                 move

copy                                 copy

ruby                                 run ruby files

You can find all commands and its explanation HERE

Tutorial for cmd.exe commands

For people who haven't learn Linux before, I recommend the Bible of Linux- 鳥哥的Linux私房菜

------------------------------------------------------------------------------------------------------

OK, this is the first class here.


No comments:

Post a Comment