Skip to content

Instantly share code, notes, and snippets.

@tihuan
Created February 14, 2014 01:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tihuan/8994187 to your computer and use it in GitHub Desktop.
Save tihuan/8994187 to your computer and use it in GitHub Desktop.
1 cd Desktop
2 git clone https://github.com/tihuan/CLI-Obstacle-Course.git
3 cd CLI-Obstacle-Course
4 ls
5 ls -a -time -l
6 mv images app/assets
7 cd app/views/static_pages
8 ls
9 ls ../
10 ls ../../
11 mv this_is_the_annoying_ping_pong_text\!.txt ../
12 mv ../this_is_the_annoying_ping_pong_text\!.txt ./
13 mv this_is_the_annoying_ping_pong_text\!.txt where_am_you?.txt
14 mv where_am_you?.txt where_am_i?.txt
15 pwd
16 pwd > where_am_i?.txt
17 cd
18 find . -iname "static_pages_controller.rb"
19 mv ./Desktop/CLI-Obstacle-Course/app/helpers/static_pages_controller.rb ./Desktop/CLI-Obstacle-Course/app/controllers
20 cd /Desktop/CLI-Obstacle-Course
21 cd Desktop/CLI-Obstacle-Course
22 find . -name "*controller*"
23 grep -r bootinator *
24 mv app/assets/stylesheets/application_helper.rb app/helpers
25 rm -rf delete_me
26 find . -name "*winning.rb"
27 cp ./config/environments/you_are_winning.rb ./
28 ruby ./you_are_winning.rb
29 history
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment