Skip to content

Instantly share code, notes, and snippets.

@wiltonmaddams
Last active December 31, 2015 07:08
Show Gist options
  • Save wiltonmaddams/7951789 to your computer and use it in GitHub Desktop.
Save wiltonmaddams/7951789 to your computer and use it in GitHub Desktop.
Command Line Obstacle Course - Command Line History
Command Line History
523 pwd
524 ls
525 cd ~
526 LS
527 cd Documents
528 ls
529 ls
530 ls
531 mkdir CLI_repo
532 ls
533 pwd
534 cd CLI_repo
535 ls
536 pwd
537 git clone https://github.com/jayrogers889csa/CLI-Obstacle-Course.git
538 ls
539 cd "CLI-Obstacle-Course"
540 ls
541 ls-a-l
542 ls
543 ls-a-l
544 -a-l
545 -a
546 ls-a
547 ls-a-l
548 ls-a-l
549 ls -a -l
550 ls
551 mv images app
552 ls
553 cd app
554 ls
555 mv images assets
556 cd assets
557 ls
558 cd images
559 ls
560 ls -a -l
561 cd ..
562 ls
563 cd ..
564 ls
565 cd views
566 ls
567 cd static_pages
568 ls
569 ls /..
570 ls ..
571 ls ../..
572 ls
573 mv this_is_the_annoying_ping_pong_text\!.txt ..
574 ls
575 cd ..
576 ls
577 cd static_pages
578 ;s
579 ls
580 mv ../this_is_the_annoying_ping_pong_text\!.txt
581 mv ../this_is_the_annoying_ping_pong_text\!.txt .
582 ls
583 ls
584 ls
585 mv this_is_the_annoying_ping_pong_text\!.txt where_am_you?.txt
586 ls
587 mv where_am_you?.txt where_am_i?.txt
588 ls
589 ls
590 ls
591 pwd
592 pwd > where_am_i?.txt
593 ls
594 cd ~
595 ls
596 locate static_pages_controller.rb
597 find static_pages_controller.rb
598 locate static_pages_controller.rb
599 sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist
600 locate sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist
601 sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist
602 locate static_pages_controller.rb
603 sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist
604 locate static_pages_controller.rb
605 locate static_pages_controller.rb
606 locate static_pages_controller.rb
607 cd Documents
608 ls
609 cd CLI_repo
610 ls
611 cd CLI-Obstacle-Course
612 ;s
613 ls
614 cd app/helpers
615 ls
616 find /helpers/ name static
617 find static_pages_controller.rb
618 cd ~
619 locate static_pages_controller.rb
620 ls
621 locate static_pages_controller.rb
622 locate static_pages_controller.rb
623 locate static_pages_controller.rb
624 locate static_pages_controller.rb
625 locate static_pages_controller.rb
626 locate static_pages_controller.rb
627 locate static_pages_controller.rb
628 locate static_pages_controller.rb
629 locate static_pages_controller.rb
630 locate static_pages_controller.rb
631 locate static_pages_controller.rb
632 locate static_pages_controller.rb
633 locate static_pages_controller.rb
634 locate static_pages_controller.rb
635 locate static_pages_controller.rb
636 locate static_pages_controller.rb
637 locate static_pages_controller.rb
638 locate static_pages_controller.rb
639 locate static_pages_controller.rb
640 locate static_pages_controller.rb
641 locate static_pages_controller.rb
642 locate static_pages_controller.rb
643 locate static_pages_controller.rb
644 locate static_pages_controller.rb
645 locate static_pages_controller.rb
646 locate static_pages_controller.rb
647 locate static_pages_controller.rb
648 locate static_pages_controller.rb
649 locate static_pages_controller.rb
650 locate static_pages_controller.rb
651 locate static_pages_controller.rb
652 locate static_pages_controller.rb
653 locate static_pages_controller.rb
654 locate static_pages_controller.rb
655 locate static_pages_controller.rb
656 locate static_pages_controller.rb
657 locate static_pages_controller.rb
658 locate static_pages_controller.rb
659 locate static_pages_controller.rb
660 locate static_pages_controller.rb
661 locate static_pages_controller.rb
662 locate static_pages_controller.rb
663 locate static_pages_controller.rb
664 locate static_pages_controller.rb
665 locate static_pages_controller.rb
666 cd Documents
667 cd CLI_repo
668 cd CLI_Obstacle_course
669 ls
670 cd CLI-Obstacle-Course
671 ls
672 cd app/helpers
673 ls
674 mv static_pages_controll.rb app/controllers/
675 mv static_pages_controller.rb ../
676 ls
677 cd ..
678 ls
679 mv static_pages_controller.rb controllers
680 ls
681 cd controlles
682 cd controllers
683 ls
684 cd ..
685 cd..
686 ls
687 cd ..
688 ls
689 grep controller
690 grep controller
691 find /CLI-Obstacle-Course/ name controller*
692 ls
693 find /doc/ name controller
694 ls
695 ls
696 pwd
697 pwd
698 pwd
699 ls
700 grep -o controller
701 mdfind -name "controller"
702 mdfind - name "static_pages_controller.rb"
703 mdfind -name "static_pages_controller.rb"
704 mv mdfind -name "static_pages_controller.rb" ../
705 ls
706 cd app
707 ls
708 cd controllers
709 ls
710 cd ..
711 cd .
712 cd ..
713 look "bootinator"
714 look "controller"
715 look -name "bootinator"
716 look "bootinator"
717 grep -r (bootinator)
718 grep -r "bootinator"
719 $grep bootinator filename
720 $grep "bootinator" filename
721 grep -r 'bootinator'/
722 sudo cd / && grep -rn "bootinator" *
723 grep -r "bootinator"
724 find / -type f -exec grep 'bootinator' {} +
725 grep -lir "def bootinator".
726 grep -lir "def bootinator" .
727 ls
728 cd app
729 ls
730 cd assets
731 ls
732 mv stylesheets ../
733 ls
734 cd ..
735 ls
736 mv stylesheets helpers
737 ls
738 cd helps
739 cd helpers
740 ls
741 cd ..
742 ls
743 cd ..
744 ls
745 rmdir delete_me
746 ls
747 rmdir delete_me/
748 cd delete_me/
749 ls
750 cd if_you
751 ls
752 ls
753 cd dare
754 cd ..
755 cd ..
756 cd ..
757 ls
758 rmdir delete_me/if_you/dare
759 rm -d delete_me/
760 rm -r delete_me/
761 ls
762 mdfind -name "winning.rb"
763 cp " you_are_winning.rb" to Users
764 ls
765 cp /Users/jayrogers/Documents/CLI_repo/CLI-Obstacle-Course/config/environments/you_are_winning.rb ~
766 cd ~
767 ls
768 ruby you_are_winning.rb
769 history
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment