#Objectives ##Clone the directory and view files
- Clone the repository provided.
- Move into the repo directory (it should be called
CLI-Obstacle-Course
. - View the directories and files that are created.
- View all the files with time stamp and owner permissions (including hidden files).
##Move files and directories
- Move the images directory into the
app/assets
directory, and list its contents including hidden files. - Go into the
app
directory then into theviews
directory then into thestatic_pages
directory. - View the files in that directory. Without changing directory, view the files in the parent directory. View the files in the parent's parent directory.
- Move the file
this_is_the_annoying_ping_pong_text!.txt
into the parent directory. - Now without changing directories, move it back to
views/static_pages/
. - Change the file's name to
where_am_you?.txt
, then change the name towhere_am_i?.txt
.
##Output to file
- View your working directory path.
- Copy the working directory path into
where_am_i?.txt
(don't use TextMate or any other outside application to do this!). - Go back to the home directory using one command.
- Find the file named with
static_pages_controller.rb
and move it into theapp/controllers/
directory.
##Searching...
- View all the filenames that have
controller
in the title. - Find the file that has the
bootinator
method in it. - Move that file into the
app/helpers/
directory. - Delete the directory
delete_me/
from the main directory (including all its contents. careful!).
##Winning.rb
- Find a ruby file whose title ends with the text
winning.rb
. - Copy that file to your home directory, and go to your home directory.
- Run the file using the ruby command.
- Read what the file tells you to do, and do it as soon as you can!
##Submit There are hidden instructions in the obstacle course that will instruct you how to submit this challenge.
The instructions will require you to save all the previous steps, so make sure you don't skip any!