Last active
December 13, 2021 10:56
-
-
Save sele-nap/330ccb2bca2c4e8ee0ffd3527884e445 to your computer and use it in GitHub Desktop.
WCS quest // Linux Terminal 2 - find + history
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
selena@selena-GL62M-7RDX:~/planets$ find | |
. | |
./inhabited | |
./inhabited/earth.jpeg | |
./inhabited/coruscant.jpeg | |
./inhabited/arrakis.jpeg | |
./inhabited/cybertron.jpeg | |
./real | |
./real/dwarf-planets | |
./real/gas-giants | |
./real/gas-giants/uranus.jpeg | |
./real/gas-giants/saturn.jpeg | |
./real/gas-giants/neptune.jpeg | |
./real/gas-giants/jupiter.jpeg | |
./real/terrestrial | |
./real/terrestrial/mars.jpeg | |
./real/terrestrial/earth.jpeg | |
./real/terrestrial/mercury.jpeg | |
./real/terrestrial/venus.jpeg | |
./fictional | |
./fictional/coruscant.jpeg | |
./fictional/arrakis.jpeg | |
./fictional/cybertron.jpeg | |
232 curl -L -o planets.zip "https://github.com/WildCodeSchool/quests-resources/blob/master/terminal/planets.zip?raw=true" | |
233 unzip planets.zip | |
234 pwd | |
235 ls | |
236 ls planets | |
237 mkdir -p planets/real planets/fictional planets/inhabited | |
238 mkdir -p planets/real/terrestrial planets/real/gas-giants planets/real/dwarf-planets | |
239 ls planets | |
240 cd | |
241 cd planets | |
242 mv earth.jpeg mercury.jpeg saturn.jpeg jupiter.jpeg neptune.jpeg uranus.jpeg mars.jpeg pluto.jpeg venus.jpeg real/ | |
243 cd real | |
244 mv mercury.jpeg venus.jpeg earth.jpeg mars.jpeg terrestrial/ | |
245 cd .. | |
246 mv arrakis.jpeg coruscant.jpeg cybertron.jpeg fictives/ | |
247 mv arrakis.jpeg coruscant.jpeg cybertron.jpeg fictional/ | |
248 curl -L -o planets.zip "https://github.com/WildCodeSchool/quests-resources/blob/master/terminal/planets.zip?raw=true" | |
249 unzip planets.zip | |
250 pwd | |
251 ls | |
252 ls planets | |
253 mkdir -p planets/real planets/fictional planets/inhabited | |
254 mkdir -p planets/real/terrestrial planets/real/gas-giants planets/real/dwarf-planets | |
255 ls planets | |
256 cd planets | |
257 mv earth.jpeg mercury.jpeg saturn.jpeg jupiter.jpeg neptune.jpeg uranus.jpeg mars.jpeg pluto.jpeg venus.jpeg real/ | |
258 mv arrakis.jpeg coruscant.jpeg cybertron.jpeg fictional/ | |
259 cd real | |
260 mv mercury.jpeg venus.jpeg earth.jpeg mars.jpeg terrestrial/ | |
261 mv jupiter.jpeg saturn.jpeg uranus.jpeg neptune.jpeg gas-giants/ | |
262 mv pluto.jpeg dwarf-planets/ | |
263 cd .. | |
264 cp fictional/arrakis.jpeg inhabited/arrakis.jpeg | |
265 cp fictional/coruscant.jpeg inhabited/coruscant.jpeg | |
266 cp fictional/cybertron.jpeg inhabited/cybertron.jpeg | |
267 cp real/terrestrial/earth.jpeg inhabited/earth.jpeg | |
268 rm real/dwarf-planets/pluto.jpeg | |
269 find | |
270 history |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment