Skip to content

Instantly share code, notes, and snippets.

@juandefelix
Created November 22, 2013 22:03
Show Gist options
  • Save juandefelix/7607635 to your computer and use it in GitHub Desktop.
Save juandefelix/7607635 to your computer and use it in GitHub Desktop.
503 git clone https://github.com/dbc-challenges/CLI-Obstacle-Course.git
504 ls
505 cd CLI*
506 ls
507 man ls
508 ls -al
509 mv images app/assets
510 ls
511 ls -al
512 cd app/views/static_files
513 cd app/views/static_pages/
514 ls -al
515 ls -al /app/views
516 ls -al ../..
517 ls -al
518 mv this_is_the_annoying_ping_pong_text\!.txt ..
519 ls -al
520 ls ..
521 pwd
522 mv ../this_is_the_annoying_ping_pong_text\!.txt .
523 ls -al
524 ls -al
525 mv this_is_the_annoying_ping_pong_text\!.txt where_am_you\?.txt
526 ls -al
527 mv where_am_you\?.txt where_am_i\?.txt
528 pwd
529 pwd > where_am_i\?.txt
530 cat where_am_i\?.txt
531 cd ~
532 find CLI-Obstacle-Course/ -name static_pages_controller.rb
533 ls -al
534 cd CLI-Obstacle-Course/
535 mv app/helpers/static_pages_controller.rb app/controllers
536 cd app
537 ls
538 cd controllers
539 ls
540 ls
541 cd..
542 cd..
543 cd ..
544 cd ..
545 find -name"*controller*"
546 find -name "*controller*"
547 find . -name "*controller*"
548 find . -name "controller*"
549 find . -name "+controller*"
550 find "bootinator" *.*
551 grep "bootinator" *.*
552 grep "bootinator" -r .
553 mv ./app/assets/stylesheets/application_helper.rb app/helpers/
554 cd app/helpers
555 ls -al
556 rm -r "delete_me"
557 rm -r 'delete_me'
558 rm -r 'delete_me' .
559 cd ..
560 cd ..
561 rm -r 'delete_me'
562 ls -al
563 find -r '*winning.rb'
564 find . -r '*winning.rb'
565 man find
566 find '*winning.rb'
567 find . '*winning.rb'
568 find . -name '*winning.rb'
569 cp config/environments/you_are_winning.rb .
570 ls
571 rm you_are_winning.rb
572 cp config/environments/you_are_winning.rb ~/
573 cd /
574 ls -al
575 cd
576 ls
577 ruby you_are_winning.rb
578 history
579 cd Desktop
580 history > history.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment