Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
// Find Command
flo@kubuntu:~/Documents/Wild Code School/quests/shell$ find planets
planets
planets/fictionnal
planets/fictionnal/coruscant.jpeg
planets/fictionnal/cybertron.jpeg
planets/fictionnal/arrakis.jpeg
planets/inhabited
planets/inhabited/coruscant.jpeg
planets/inhabited/earth.jpeg
planets/inhabited/cybertron.jpeg
planets/inhabited/arrakis.jpeg
planets/real
planets/real/terrestrial
planets/real/terrestrial/mercury.jpeg
planets/real/terrestrial/mars.jpeg
planets/real/terrestrial/venus.jpeg
planets/real/terrestrial/earth.jpeg
planets/real/gas-giants
planets/real/gas-giants/uranus.jpeg
planets/real/gas-giants/saturn.jpeg
planets/real/gas-giants/neptune.jpeg
planets/real/gas-giants/jupiter.jpeg
// History
542 mkdir -p planets/real planets/fictionnal planets/inhabited
543 ls
544 cd planets
545 ls
546 mkdir -p real/terrestrial real/gas-giants real/dwarf-planets
547 ls real
548 ls
549 mv mercury.* earth.* venus.* mars.* real/terrestrial
550 ls
551 mv jupiter.* saturn.* uranus.* neptune.* real/gas-giants
552 ls
553 mv pluto.jpeg real/dwarf-planets
554 ls
555 mv arrakis.* coruscant.* cybertron.* fictionnal/
556 ls
557 cp real/earth inhabited/earth
558 ls
559 ls real
560 cp real/terrestrial/earth inhabited/earth
561 ls real/terrestrial
562 cp real/terrestrial/earth.jpeg inhabited/earth.jpeg
563 ls inhabited
564 ls fictionnal
565 cp fictionnal/* inhabited
566 ls inhabited
567 ls real
568 rm -r dwarf-planets
569 rm -r real/dwarf-planets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment