Created
September 15, 2020 11:07
-
-
Save Rooarii/16db2bfb34da72c8550d56d627299f41 to your computer and use it in GitHub Desktop.
Linux 2 : fichiers et dossiers
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
d | |
. | |
./terrestre | |
./terrestre/mercury.jpeg | |
./terrestre/earth.jpeg | |
./terrestre/mars.jpeg | |
./terrestre/venus.jpeg | |
./planètes-naines | |
./géantes-gazeuses | |
./géantes-gazeuses/jupiter.jpeg | |
./géantes-gazeuses/saturn.jpeg | |
./géantes-gazeuses/neptune.jpeg | |
./géantes-gazeuses/uranus.jpeg | |
554 curl | |
555 cd .. | |
556 sudo apt-get install -y curl unzip | |
557 curl -L -o planets.zip curl -L -o planets.zip "https://github.com/WildCodeSchool/quests-resources/blob/master/terminal/planets.zip?raw=true" | |
558 pwd | |
559 ls | |
560 mv planets.zip Documents/wcs/unix/ | |
561 ls | |
562 cd Documents/wcs/unix/ | |
563 ls | |
564 mkdir linux-2_fichiers_et_dossiers | |
565 mv planets.zip linux-2_fichiers_et_dossiers/ | |
566 curl -L -o planets.zip curl -L -o planets.zip "https://github.com/WildCodeSchool/quests-resources/blob/master/terminal/planets.zip?raw=true" | |
567 curl | |
568 ls | |
569 cd linux-2_fichiers_et_dossiers/ | |
570 ls | |
571 cd .. | |
572 ls | |
573 cd linux-2_fichiers_et_dossiers/ | |
574 ls | |
575 unzip planets.zip | |
576 ls | |
577 cd planets | |
578 ls | |
579 mkdir -p real fictive inhabited | |
580 ls | |
581 mv earth.jpeg jupiter.jpeg mars.jpeg mercury.jpeg neptune.jpeg pluto.jpeg saturn.jpeg uranus.jpeg venus.jpeg inhabited/ | |
582 ls | |
583 mv arrakis.jpeg coruscant.jpeg cybertron.jpeg fictive/ | |
584 cd real/ | |
585 ls | |
586 cd .. | |
587 cd inhabited/ | |
588 ls | |
589 mv * ~/Documents/wcs/unix/linux-2_fichiers_et_dossiers/planets/real | |
590 cd .. | |
591 cd real/ | |
592 ls | |
593 cp earth.jpeg ~/Documents/wcs/unix/linux-2_fichiers_et_dossiers/planets/inhabited/ | |
594 cd .. | |
595 cd fictive/ | |
596 cp * in~/Documents/wcs/unix/linux-2_fichiers_et_dossiers/planets/inhabited/ | |
597 cp * ~/Documents/wcs/unix/linux-2_fichiers_et_dossiers/planets/inhabited/ | |
598 cd .. | |
599 cd inhabited/ | |
600 ls | |
601 cd .. | |
602 cd real/ | |
603 mkdirs terrestre géantes-gazeuses planètes-naines | |
604 mkdir -p terrestre géantes-gazeuses planètes-naines | |
605 ls | |
606 mv saturn.jpeg uranus.jpeg neptune.jpeg géantes-gazeuses/ | |
607 mv jupiter.jpeg géantes-gazeuses/ | |
608 ls | |
609 mv mercury.jpeg venus.jpeg mars.jpeg earth.jpeg terrestre/ | |
610 ls | |
611 mv pluto.jpeg géantes-gazeuses/ | |
612 cd géantes-gazeuses/ | |
613 rm pluto.jpeg | |
614 ls | |
615 cd .. | |
616 ls | |
617 find | |
618 history |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment