ga-wdi-exercises / to_oz

Navigate the directory tree using the command line. [cli, basics]
0 stars 49 forks source link

CLI HW Eric Green #172

Closed ericcgreen closed 7 years ago

ericcgreen commented 7 years ago

//This is a mess. //Please ignore the "-bash:_git_ps1: command not found" lines, this issue was resolved by Andy as I was doing my homework, but the error message didn't clear in my current working tab.

-bash: git_ps1: command not found Tue Jan 17 16:51:07 ~/wdi $ pwd /Users/macbook/wdi -bash: __git_ps1: command not found Tue Jan 17 16:52:54 ~/wdi $ ls Rakefile installfest.yml myhomework sandbox exercises lessons projects -bash: git_ps1: command not found Tue Jan 17 16:53:01 ~/wdi $ cd myhomework -bash: git_ps1: command not found Tue Jan 17 16:53:21 ~/wdi/myhomework $ ls -bash: __git_ps1: command not found Tue Jan 17 16:53:24 ~/wdi/myhomework $ mkdir House -bash: git_ps1: command not found Tue Jan 17 16:53:46 ~/wdi/myhomework $ ls House -bash: git_ps1: command not found Tue Jan 17 16:53:54 ~/wdi/myhomework $ cd House -bash: __git_ps1: command not found Tue Jan 17 16:53:59 ~/wdi/myhomework/House $ ls -bash: git_ps1: command not found Tue Jan 17 16:54:01 ~/wdi/myhomework/House $ touch Dorothy Toto -bash: git_ps1: command not found Tue Jan 17 16:54:24 ~/wdi/myhomework/House $ ls Dorothy Toto -bash: __git_ps1: command not found Tue Jan 17 16:54:26 ~/wdi/myhomework/House $ cd .. -bash: git_ps1: command not found Tue Jan 17 16:57:50 ~/wdi/myhomework $ mkdir Oz -bash: git_ps1: command not found Tue Jan 17 16:58:04 ~/wdi/myhomework $ touch "Good Witch of the North" "Wicked Witch of the East" "Good Witch of the South" "Good Witch of the West" -bash: __git_ps1: command not found Tue Jan 17 16:59:26 ~/wdi/myhomework $ ls Good Witch of the North House Good Witch of the South Oz Good Witch of the West Wicked Witch of the East -bash: git_ps1: command not found Tue Jan 17 16:59:28 ~/wdi/myhomework $ mv "Good Witch of the North" Oz -bash: git_ps1: command not found Tue Jan 17 16:59:59 ~/wdi/myhomework $ mv "Good Witch of the East" Oz mv: rename Good Witch of the East to Oz/Good Witch of the East: No such file or directory -bash: __git_ps1: command not found Tue Jan 17 17:00:36 ~/wdi/myhomework $ mv "Wicked Witch of the East" Oz -bash: git_ps1: command not found Tue Jan 17 17:02:13 ~/wdi/myhomework $ mv "Good Witch of the South" Oz -bash: git_ps1: command not found Tue Jan 17 17:02:40 ~/wdi/myhomework $ mv "Wicked Witch of the West" Oz mv: rename Wicked Witch of the West to Oz/Wicked Witch of the West: No such file or directory -bash: __git_ps1: command not found Tue Jan 17 17:03:00 ~/wdi/myhomework $ ls Good Witch of the West House Oz -bash: git_ps1: command not found Tue Jan 17 17:03:10 ~/wdi/myhomework $ mv "Good Witch of the West" "Wicked Witch of the West" -bash: git_ps1: command not found Tue Jan 17 17:03:57 ~/wdi/myhomework $ mv "Wicked Witch of the West" Oz -bash: __git_ps1: command not found Tue Jan 17 17:04:13 ~/wdi/myhomework $ ls House Oz -bash: git_ps1: command not found Tue Jan 17 17:04:15 ~/wdi/myhomework $ cd Oz -bash: git_ps1: command not found Tue Jan 17 17:04:20 ~/wdi/myhomework/Oz $ ls Good Witch of the North Wicked Witch of the East Good Witch of the South Wicked Witch of the West -bash: __git_ps1: command not found Tue Jan 17 17:04:21 ~/wdi/myhomework/Oz $ rm "Wicked Witch of the East" -bash: git_ps1: command not found Tue Jan 17 17:05:56 ~/wdi/myhomework/Oz $ mv ../House/Dorothy Oz -bash: git_ps1: command not found Tue Jan 17 17:06:48 ~/wdi/myhomework/Oz $ ls Good Witch of the North Oz Good Witch of the South Wicked Witch of the West -bash: __git_ps1: command not found Tue Jan 17 17:06:53 ~/wdi/myhomework/Oz $ cd .. -bash: git_ps1: command not found Tue Jan 17 17:07:14 ~/wdi/myhomework $ s -bash: s: command not found -bash: git_ps1: command not found Tue Jan 17 17:07:18 ~/wdi/myhomework $ ls House Oz -bash: __git_ps1: command not found Tue Jan 17 17:07:21 ~/wdi/myhomework $ cd House -bash: git_ps1: command not found Tue Jan 17 17:07:28 ~/wdi/myhomework/House $ ls Toto -bash: git_ps1: command not found Tue Jan 17 17:07:29 ~/wdi/myhomework/House $ cd .. -bash: __git_ps1: command not found Tue Jan 17 17:07:46 ~/wdi/myhomework $ cd Oz -bash: git_ps1: command not found Tue Jan 17 17:07:54 ~/wdi/myhomework/Oz $ ls Good Witch of the North Oz Good Witch of the South Wicked Witch of the West -bash: git_ps1: command not found Tue Jan 17 17:07:56 ~/wdi/myhomework/Oz $ cd Oz -bash: cd: Oz: Not a directory -bash: __git_ps1: command not found Tue Jan 17 17:08:01 ~/wdi/myhomework/Oz $ mv Oz Dorothy -bash: git_ps1: command not found Tue Jan 17 17:08:20 ~/wdi/myhomework/Oz $ ls Dorothy Good Witch of the South Good Witch of the North Wicked Witch of the West -bash: git_ps1: command not found Tue Jan 17 17:08:23 ~/wdi/myhomework/Oz $ pwd /Users/macbook/wdi/myhomework/Oz -bash: __git_ps1: command not found Tue Jan 17 19:26:47 ~/wdi/myhomework/Oz $ touch Scarecrow -bash: git_ps1: command not found Tue Jan 17 19:27:15 ~/wdi/myhomework/Oz $ touch Tin Man -bash: git_ps1: command not found Tue Jan 17 19:27:23 ~/wdi/myhomework/Oz $ touch Cowardly Lion -bash: __git_ps1: command not found Tue Jan 17 19:27:37 ~/wdi/myhomework/Oz $ cd .. -bash: git_ps1: command not found Tue Jan 17 19:27:52 ~/wdi/myhomework $ mkdir Emerald City -bash: git_ps1: command not found Tue Jan 17 19:28:10 ~/wdi/myhomework $ cd Oz -bash: __git_ps1: command not found Tue Jan 17 19:28:18 ~/wdi/myhomework/Oz $ mv Scarecrow Emerald City usage: mv [-f | -i | -n] [-v] source target mv [-f | -i | -n] [-v] source ... directory -bash: git_ps1: command not found Tue Jan 17 19:28:39 ~/wdi/myhomework/Oz $ mv Tin Man Emerald City usage: mv [-f | -i | -n] [-v] source target mv [-f | -i | -n] [-v] source ... directory -bash: git_ps1: command not found Tue Jan 17 19:29:02 ~/wdi/myhomework/Oz $ mv Cowardly Lion Emerald City usage: mv [-f | -i | -n] [-v] source target mv [-f | -i | -n] [-v] source ... directory -bash: __git_ps1: command not found Tue Jan 17 19:29:35 ~/wdi/myhomework/Oz $ ls Cowardly Man Dorothy Scarecrow Good Witch of the North Tin Good Witch of the South Wicked Witch of the West Lion -bash: git_ps1: command not found Tue Jan 17 19:29:36 ~/wdi/myhomework/Oz $ rm Man -bash: git_ps1: command not found Tue Jan 17 19:33:20 ~/wdi/myhomework/Oz $ rm Tin -bash: __git_ps1: command not found Tue Jan 17 19:33:31 ~/wdi/myhomework/Oz $ rm Cowardly -bash: git_ps1: command not found Tue Jan 17 19:33:42 ~/wdi/myhomework/Oz $ rm Lion -bash: git_ps1: command not found Tue Jan 17 19:33:49 ~/wdi/myhomework/Oz $ touch "Tin Man" -bash: __git_ps1: command not found Tue Jan 17 19:34:20 ~/wdi/myhomework/Oz $ touch "Cowardly Lion" -bash: git_ps1: command not found Tue Jan 17 19:34:33 ~/wdi/myhomework/Oz $ ls Cowardly Lion Scarecrow Dorothy Tin Man Good Witch of the North Wicked Witch of the West Good Witch of the South -bash: git_ps1: command not found Tue Jan 17 19:34:36 ~/wdi/myhomework/Oz $ mv Scarecrow myhomework/Emerald City usage: mv [-f | -i | -n] [-v] source target mv [-f | -i | -n] [-v] source ... directory -bash: __git_ps1: command not found Tue Jan 17 19:38:46 ~/wdi/myhomework/Oz $ ls Cowardly Lion Scarecrow Dorothy Tin Man Good Witch of the North Wicked Witch of the West Good Witch of the South -bash: git_ps1: command not found Tue Jan 17 19:38:51 ~/wdi/myhomework/Oz $ mv Scarecrow ~/wdi/myhomework/"Emerald City" -bash: git_ps1: command not found Tue Jan 17 19:40:02 ~/wdi/myhomework/Oz $ ls Cowardly Lion Good Witch of the South Dorothy Tin Man Good Witch of the North Wicked Witch of the West -bash: __git_ps1: command not found Tue Jan 17 20:11:14 ~/wdi/myhomework/Oz $ mv "Cowardly Lion" ~/wdi/myhomework/"Emerald City" -bash: git_ps1: command not found Tue Jan 17 20:13:32 ~/wdi/myhomework/Oz $ ls Dorothy Tin Man Good Witch of the North Wicked Witch of the West Good Witch of the South -bash: git_ps1: command not found Tue Jan 17 20:13:33 ~/wdi/myhomework/Oz $ mv "Tin Man" ~/wdi/myhomework/"Emerald City" -bash: __git_ps1: command not found Tue Jan 17 20:17:53 ~/wdi/myhomework/Oz $ ls Dorothy Good Witch of the South Good Witch of the North Wicked Witch of the West -bash: git_ps1: command not found Tue Jan 17 20:17:55 ~/wdi/myhomework/Oz $ pwd /Users/macbook/wdi/myhomework/Oz -bash: git_ps1: command not found Tue Jan 17 20:18:20 ~/wdi/myhomework/Oz $ touch "Flying Monkeys" -bash: __git_ps1: command not found Tue Jan 17 20:19:04 ~/wdi/myhomework/Oz $ ls Dorothy Good Witch of the South Flying Monkeys Wicked Witch of the West Good Witch of the North -bash: git_ps1: command not found Tue Jan 17 20:19:06 ~/wdi/myhomework/Oz $ rm "Wicked Witch of the West" -bash: git_ps1: command not found Tue Jan 17 20:20:05 ~/wdi/myhomework/Oz $ ls Dorothy Good Witch of the North Flying Monkeys Good Witch of the South -bash: __git_ps1: command not found Tue Jan 17 20:20:06 ~/wdi/myhomework/Oz $ -bash: git_ps1: command not found Tue Jan 17 22:22:52 ~/wdi/myhomework/Oz $ pwd /Users/macbook/wdi/myhomework/Oz -bash: git_ps1: command not found Tue Jan 17 22:23:44 ~/wdi/myhomework/Oz $ ls Dorothy Good Witch of the North Flying Monkeys Good Witch of the South -bash: __git_ps1: command not found Tue Jan 17 22:23:50 ~/wdi/myhomework/Oz $ cd .. -bash: git_ps1: command not found Tue Jan 17 22:23:57 ~/wdi/myhomework $ ls City Emerald Emerald City House Oz -bash: git_ps1: command not found Tue Jan 17 22:23:59 ~/wdi/myhomework $ rm Emerald rm: Emerald: is a directory -bash: __git_ps1: command not found Tue Jan 17 22:24:35 ~/wdi/myhomework $ rm City rm: City: is a directory -bash: git_ps1: command not found Tue Jan 17 22:24:40 ~/wdi/myhomework $ ls City Emerald Emerald City House Oz -bash: git_ps1: command not found Tue Jan 17 22:24:41 ~/wdi/myhomework $ rm -r Emerald -bash: __git_ps1: command not found Tue Jan 17 22:24:58 ~/wdi/myhomework $ rm -r City -bash: git_ps1: command not found Tue Jan 17 22:25:16 ~/wdi/myhomework $ ls Emerald City House Oz -bash: git_ps1: command not found Tue Jan 17 22:25:17 ~/wdi/myhomework $ cd Emerald City -bash: cd: Emerald: No such file or directory -bash: __git_ps1: command not found Tue Jan 17 22:25:24 ~/wdi/myhomework $ cd "Emerald City" -bash: cd: Emerald City: Not a directory -bash: git_ps1: command not found Tue Jan 17 22:25:41 ~/wdi/myhomework $ ls Emerald City House Oz -bash: git_ps1: command not found Tue Jan 17 22:26:04 ~/wdi/myhomework $ cd "Emerald City" -bash: cd: Emerald City: Not a directory -bash: __git_ps1: command not found Tue Jan 17 22:26:27 ~/wdi/myhomework $ ls Emerald City House Oz -bash: git_ps1: command not found Tue Jan 17 22:26:29 ~/wdi/myhomework $ rm -r "Emerald City" -bash: git_ps1: command not found Tue Jan 17 22:27:08 ~/wdi/myhomework $ ls House Oz -bash: git_ps1: command not found Tue Jan 17 22:27:10 ~/wdi/myhomework $ mkdir Emerald_City -bash: git_ps1: command not found Tue Jan 17 22:27:50 ~/wdi/myhomework $ cd Emerald_City -bash: git_ps1: command not found Tue Jan 17 22:28:05 ~/wdi/myhomework/Emerald_City $ touch Scarecrow.txt echo "diploma" -bash: git_ps1: command not found Tue Jan 17 22:29:21 ~/wdi/myhomework/Emerald_City $ open Scarecrow The file /Users/macbook/wdi/myhomework/Emerald_City/Scarecrow does not exist. -bash: git_ps1: command not found Tue Jan 17 22:29:44 ~/wdi/myhomework/Emerald_City $ open Scarecrow.txt -bash: git_ps1: command not found Tue Jan 17 22:30:04 ~/wdi/myhomework/Emerald_City $ touch Tin_Man.txt -bash: __git_ps1: command not found Tue Jan 17 22:30:39 ~/wdi/myhomework/Emerald_City $ touch Cowardly_Lion.txt -bash: git_ps1: command not found Tue Jan 17 22:30:55 ~/wdi/myhomework/Emerald_City $ echo "diploma" > Tin_Man.txt -bash: git_ps1: command not found Tue Jan 17 22:32:56 ~/wdi/myhomework/Emerald_City $ rm Tin_Man.txt -bash: __git_ps1: command not found Tue Jan 17 22:33:48 ~/wdi/myhomework/Emerald_City $ ls Cowardly_Lion.txt diploma Scarecrow.txt echo -bash: git_ps1: command not found Tue Jan 17 22:33:53 ~/wdi/myhomework/Emerald_City $ rm diploma -bash: git_ps1: command not found Tue Jan 17 22:34:06 ~/wdi/myhomework/Emerald_City $ rm echo -bash: git_ps1: command not found Tue Jan 17 22:34:11 ~/wdi/myhomework/Emerald_City $ ls Cowardly_Lion.txt Scarecrow.txt -bash: git_ps1: command not found Tue Jan 17 22:34:12 ~/wdi/myhomework/Emerald_City $ touch Tin_Man.txt -bash: git_ps1: command not found Tue Jan 17 22:34:25 ~/wdi/myhomework/Emerald_City $ echo "diploma" > Scarecrow.txt -bash: git_ps1: command not found Tue Jan 17 22:35:46 ~/wdi/myhomework/Emerald_City $ ls Cowardly_Lion.txt Scarecrow.txt Tin_Man.txt -bash: git_ps1: command not found Tue Jan 17 22:35:47 ~/wdi/myhomework/Emerald_City $ open Scarecrow.txt -bash: git_ps1: command not found Tue Jan 17 22:35:55 ~/wdi/myhomework/Emerald_City $ echo "heart shaped watch" > Tin_Man.txt -bash: git_ps1: command not found Tue Jan 17 22:37:50 ~/wdi/myhomework/Emerald_City $ echo "medal" > Cowardly_Lion.txt -bash: __git_ps1: command not found Tue Jan 17 22:38:18 ~/wdi/myhomework/Emerald_City $ open Cowardly_Lion.txt -bash: __git_ps1: command not found Tue Jan 17 22:38:26 ~/wdi/myhomework/Emerald_City $

ericcgreen commented 7 years ago

Completeness: 5/5 Comfort: 4/5 I need to start paying closer attention to detail because I looked over putting (")s around string text or using (_)s. This confused me and caused several issues where I had to backtrack and delete some files.