Created
March 2, 2021 13:48
-
-
Save CaroD59/46fdb14c12724eb9aa3019cadb89b3cf to your computer and use it in GitHub Desktop.
Caroline Dorchies Challenge Linux - Terminal 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dorch@DESKTOP-STLUBST MINGW64 / | |
$ pwd | |
/ | |
dorch@DESKTOP-STLUBST MINGW64 / | |
$ curl -L -o planets.zip https://github.com/WildCodeSchool/quests-resources/blob/master/terminal/planets.zip?raw=true | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 148 100 148 0 0 1541 0 --:--:-- --:--:-- --:--:-- 1557 | |
100 159 100 159 0 0 1419 0 --:--:-- --:--:-- --:--:-- 1419 | |
100 293k 100 293k 0 0 1177k 0 --:--:-- --:--:-- --:--:-- 1177k | |
dorch@DESKTOP-STLUBST MINGW64 / | |
$ unzip planets.zip | |
Archive: planets.zip | |
creating: planets/ | |
inflating: planets/mercury.jpeg | |
inflating: planets/earth.jpeg | |
inflating: planets/pluto.jpeg | |
inflating: planets/arrakis.jpeg | |
inflating: planets/jupiter.jpeg | |
inflating: planets/venus.jpeg | |
inflating: planets/mars.jpeg | |
inflating: planets/cybertron.jpeg | |
inflating: planets/coruscant.jpeg | |
inflating: planets/uranus.jpeg | |
inflating: planets/neptune.jpeg | |
inflating: planets/saturn.jpeg | |
dorch@DESKTOP-STLUBST MINGW64 / | |
$ mkdir planets/real planets/fictional planets/inhabited | |
dorch@DESKTOP-STLUBST MINGW64 / | |
$ ls | |
LICENSE.txt dev/ mingw64/ tmp/ usr/ | |
ReleaseNotes.html etc/ planets/ unins000.dat | |
bin/ git-bash.exe* planets.zip unins000.exe* | |
cmd/ git-cmd.exe* proc/ unins000.msg | |
dorch@DESKTOP-STLUBST MINGW64 / | |
$ cd planets | |
dorch@DESKTOP-STLUBST MINGW64 /planets | |
$ ls | |
arrakis.jpeg earth.jpeg jupiter.jpeg neptune.jpeg saturn.jpeg | |
coruscant.jpeg fictional/ mars.jpeg pluto.jpeg uranus.jpeg | |
cybertron.jpeg inhabited/ mercury.jpeg real/ venus.jpeg | |
dorch@DESKTOP-STLUBST MINGW64 /planets | |
$ cd real | |
dorch@DESKTOP-STLUBST MINGW64 /planets/real | |
$ mkdir planets/real/terrestrial planets/fictional/gas-giants planets/inhabited/dwarf-planets | |
mkdir: cannot create directory ‘planets/real/terrestrial’: No such file or directory | |
mkdir: cannot create directory ‘planets/fictional/gas-giants’: No such file or directory | |
mkdir: cannot create directory ‘planets/inhabited/dwarf-planets’: No such file or directory | |
dorch@DESKTOP-STLUBST MINGW64 /planets/real | |
$ mkdir -p planets/real/terrestrial planets/real/gas-giants planets/real/dwarf-planets | |
dorch@DESKTOP-STLUBST MINGW64 /planets/real | |
$ ls | |
planets/ | |
dorch@DESKTOP-STLUBST MINGW64 /planets/real | |
$ rm -rf planets | |
dorch@DESKTOP-STLUBST MINGW64 /planets/real | |
$ ls | |
dorch@DESKTOP-STLUBST MINGW64 /planets/real | |
$ cd .. | |
dorch@DESKTOP-STLUBST MINGW64 /planets | |
$ cd | |
dorch@DESKTOP-STLUBST MINGW64 ~ | |
$ cd .. | |
dorch@DESKTOP-STLUBST MINGW64 /c/Users | |
$ cd / | |
dorch@DESKTOP-STLUBST MINGW64 / | |
$ mkdir -p planets/real/terrestrial planets/real/gas-giants planets/real/dwarf-planets | |
dorch@DESKTOP-STLUBST MINGW64 / | |
$ ls | |
LICENSE.txt dev/ mingw64/ tmp/ usr/ | |
ReleaseNotes.html etc/ planets/ unins000.dat | |
bin/ git-bash.exe* planets.zip unins000.exe* | |
cmd/ git-cmd.exe* proc/ unins000.msg | |
dorch@DESKTOP-STLUBST MINGW64 / | |
$ cd planets | |
dorch@DESKTOP-STLUBST MINGW64 /planets | |
$ cd real | |
dorch@DESKTOP-STLUBST MINGW64 /planets/real | |
$ ls | |
dwarf-planets/ gas-giants/ terrestrial/ | |
dorch@DESKTOP-STLUBST MINGW64 /planets/real | |
$ cd .. | |
dorch@DESKTOP-STLUBST MINGW64 /planets | |
$ find terrestrial | |
find: ‘terrestrial’: No such file or directory | |
dorch@DESKTOP-STLUBST MINGW64 /planets | |
$ ls | |
arrakis.jpeg earth.jpeg jupiter.jpeg neptune.jpeg saturn.jpeg | |
coruscant.jpeg fictional/ mars.jpeg pluto.jpeg uranus.jpeg | |
cybertron.jpeg inhabited/ mercury.jpeg real/ venus.jpeg | |
dorch@DESKTOP-STLUBST MINGW64 /planets | |
$ mv earth.jpeg mercury.jpeg venus.jpeg mars.jpeg real/terrestrial | |
dorch@DESKTOP-STLUBST MINGW64 /planets | |
$ ls | |
arrakis.jpeg fictional/ neptune.jpeg saturn.jpeg | |
coruscant.jpeg inhabited/ pluto.jpeg uranus.jpeg | |
cybertron.jpeg jupiter.jpeg real/ | |
dorch@DESKTOP-STLUBST MINGW64 /planets | |
$ cd real | |
dorch@DESKTOP-STLUBST MINGW64 /planets/real | |
$ cd terrestrial | |
dorch@DESKTOP-STLUBST MINGW64 /planets/real/terrestrial | |
$ ls | |
earth.jpeg mars.jpeg mercury.jpeg venus.jpeg | |
dorch@DESKTOP-STLUBST MINGW64 /planets/real/terrestrial | |
$ cd .. | |
dorch@DESKTOP-STLUBST MINGW64 /planets/real | |
$ cd .. | |
dorch@DESKTOP-STLUBST MINGW64 /planets | |
$ ls | |
arrakis.jpeg fictional/ neptune.jpeg saturn.jpeg | |
coruscant.jpeg inhabited/ pluto.jpeg uranus.jpeg | |
cybertron.jpeg jupiter.jpeg real/ | |
dorch@DESKTOP-STLUBST MINGW64 /planets | |
$ mv pluto.jpeg real/dwarf-planets | |
dorch@DESKTOP-STLUBST MINGW64 /planets | |
$ ls | |
arrakis.jpeg cybertron.jpeg inhabited/ neptune.jpeg saturn.jpeg | |
coruscant.jpeg fictional/ jupiter.jpeg real/ uranus.jpeg | |
dorch@DESKTOP-STLUBST MINGW64 /planets | |
$ cd real | |
dorch@DESKTOP-STLUBST MINGW64 /planets/real | |
$ cd dwarf-planets/ | |
dorch@DESKTOP-STLUBST MINGW64 /planets/real/dwarf-planets | |
$ ls | |
pluto.jpeg | |
dorch@DESKTOP-STLUBST MINGW64 /planets/real/dwarf-planets | |
$ cd .. | |
dorch@DESKTOP-STLUBST MINGW64 /planets/real | |
$ cd .. | |
dorch@DESKTOP-STLUBST MINGW64 /planets | |
$ ls | |
arrakis.jpeg cybertron.jpeg inhabited/ neptune.jpeg saturn.jpeg | |
coruscant.jpeg fictional/ jupiter.jpeg real/ uranus.jpeg | |
dorch@DESKTOP-STLUBST MINGW64 /planets | |
$ mv neptune.jpeg saturn.jpeg jupiter.jpeg uranus.jpeg real/gas-giants/ | |
dorch@DESKTOP-STLUBST MINGW64 /planets | |
$ cd real | |
dorch@DESKTOP-STLUBST MINGW64 /planets/real | |
$ cd gas-giants/ | |
dorch@DESKTOP-STLUBST MINGW64 /planets/real/gas-giants | |
$ ls | |
jupiter.jpeg neptune.jpeg saturn.jpeg uranus.jpeg | |
dorch@DESKTOP-STLUBST MINGW64 /planets/real/gas-giants | |
$ cd | |
dorch@DESKTOP-STLUBST MINGW64 ~ | |
$ cd .. | |
dorch@DESKTOP-STLUBST MINGW64 /c/Users | |
$ cd / | |
dorch@DESKTOP-STLUBST MINGW64 / | |
$ cd planets | |
dorch@DESKTOP-STLUBST MINGW64 /planets | |
$ ls | |
arrakis.jpeg coruscant.jpeg cybertron.jpeg fictional/ inhabited/ real/ | |
dorch@DESKTOP-STLUBST MINGW64 /planets | |
$ mv arrakis.jpeg coruscant.jpeg cybertron.jpeg fictional/ | |
dorch@DESKTOP-STLUBST MINGW64 /planets | |
$ ls | |
fictional/ inhabited/ real/ | |
dorch@DESKTOP-STLUBST MINGW64 /planets | |
$ cd fictional | |
dorch@DESKTOP-STLUBST MINGW64 /planets/fictional | |
$ ls | |
arrakis.jpeg coruscant.jpeg cybertron.jpeg | |
dorch@DESKTOP-STLUBST MINGW64 /planets/fictional | |
$ cd .. | |
dorch@DESKTOP-STLUBST MINGW64 /planets | |
$ cd real | |
dorch@DESKTOP-STLUBST MINGW64 /planets/real | |
$ cd terrestrial/ | |
dorch@DESKTOP-STLUBST MINGW64 /planets/real/terrestrial | |
$ ls | |
earth.jpeg mars.jpeg mercury.jpeg venus.jpeg | |
dorch@DESKTOP-STLUBST MINGW64 /planets/real/terrestrial | |
$ cp earth.jpeg /planets/inhabited/ | |
dorch@DESKTOP-STLUBST MINGW64 /planets/real/terrestrial | |
$ ls | |
earth.jpeg mars.jpeg mercury.jpeg venus.jpeg | |
dorch@DESKTOP-STLUBST MINGW64 /planets/real/terrestrial | |
$ cd .. | |
dorch@DESKTOP-STLUBST MINGW64 /planets/real | |
$ cd .. | |
dorch@DESKTOP-STLUBST MINGW64 /planets | |
$ cd fictional | |
dorch@DESKTOP-STLUBST MINGW64 /planets/fictional | |
$ ls | |
arrakis.jpeg coruscant.jpeg cybertron.jpeg | |
dorch@DESKTOP-STLUBST MINGW64 /planets/fictional | |
$ cd .. | |
dorch@DESKTOP-STLUBST MINGW64 /planets | |
$ cd ihabited | |
bash: cd: ihabited: No such file or directory | |
dorch@DESKTOP-STLUBST MINGW64 /planets | |
$ cd inhabited | |
dorch@DESKTOP-STLUBST MINGW64 /planets/inhabited | |
$ ls | |
earth.jpeg | |
dorch@DESKTOP-STLUBST MINGW64 /planets/inhabited | |
$ cd .. | |
dorch@DESKTOP-STLUBST MINGW64 /planets | |
$ cd fictional | |
dorch@DESKTOP-STLUBST MINGW64 /planets/fictional | |
$ ls | |
arrakis.jpeg coruscant.jpeg cybertron.jpeg | |
dorch@DESKTOP-STLUBST MINGW64 /planets/fictional | |
$ cp arrakis.jpeg coruscant.jpeg cybertron.jpeg /planets/inhabited | |
dorch@DESKTOP-STLUBST MINGW64 /planets/fictional | |
$ ls | |
arrakis.jpeg coruscant.jpeg cybertron.jpeg | |
dorch@DESKTOP-STLUBST MINGW64 /planets/fictional | |
$ cd .. | |
dorch@DESKTOP-STLUBST MINGW64 /planets | |
$ cd inhabited | |
dorch@DESKTOP-STLUBST MINGW64 /planets/inhabited | |
$ ls | |
arrakis.jpeg coruscant.jpeg cybertron.jpeg earth.jpeg | |
dorch@DESKTOP-STLUBST MINGW64 /planets/inhabited | |
$ cd .. | |
dorch@DESKTOP-STLUBST MINGW64 /planets | |
$ ls | |
fictional/ inhabited/ real/ | |
dorch@DESKTOP-STLUBST MINGW64 /planets | |
$ cd real | |
dorch@DESKTOP-STLUBST MINGW64 /planets/real | |
$ ls | |
dwarf-planets/ gas-giants/ terrestrial/ | |
dorch@DESKTOP-STLUBST MINGW64 /planets/real | |
$ cd dwarf-planets/ | |
dorch@DESKTOP-STLUBST MINGW64 /planets/real/dwarf-planets | |
$ ls | |
pluto.jpeg | |
dorch@DESKTOP-STLUBST MINGW64 /planets/real/dwarf-planets | |
$ rm pluto.jpeg | |
dorch@DESKTOP-STLUBST MINGW64 /planets/real/dwarf-planets | |
$ ls | |
dorch@DESKTOP-STLUBST MINGW64 /planets/real/dwarf-planets | |
$ cd | |
dorch@DESKTOP-STLUBST MINGW64 ~ | |
$ cd .. | |
dorch@DESKTOP-STLUBST MINGW64 /c/Users | |
$ cd / | |
dorch@DESKTOP-STLUBST MINGW64 / | |
$ cd planets | |
dorch@DESKTOP-STLUBST MINGW64 /planets | |
$ cd real | |
dorch@DESKTOP-STLUBST MINGW64 /planets/real | |
$ ls | |
dwarf-planets/ gas-giants/ terrestrial/ | |
dorch@DESKTOP-STLUBST MINGW64 /planets/real | |
$ rm -rf dwarf-planets | |
dorch@DESKTOP-STLUBST MINGW64 /planets/real | |
$ ls | |
gas-giants/ terrestrial/ | |
dorch@DESKTOP-STLUBST MINGW64 /planets/real | |
$ find fictional | |
find: ‘fictional’: No such file or directory | |
dorch@DESKTOP-STLUBST MINGW64 /planets/real | |
$ cd .. | |
dorch@DESKTOP-STLUBST MINGW64 /planets | |
$ find fictional | |
fictional | |
fictional/arrakis.jpeg | |
fictional/coruscant.jpeg | |
fictional/cybertron.jpeg | |
dorch@DESKTOP-STLUBST MINGW64 /planets | |
$ cd .. | |
dorch@DESKTOP-STLUBST MINGW64 / | |
$ rm -rf /planets | |
dorch@DESKTOP-STLUBST MINGW64 / | |
$ ls | |
LICENSE.txt cmd/ git-bash.exe* planets.zip unins000.dat usr/ | |
ReleaseNotes.html dev/ git-cmd.exe* proc/ unins000.exe* | |
bin/ etc/ mingw64/ tmp/ unins000.msg | |
dorch@DESKTOP-STLUBST MINGW64 / | |
$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
bien