Created
September 19, 2025 09:09
-
-
Save tomsihap/1c6d3fe77eb56d08af798f52d0bdd095 to your computer and use it in GitHub Desktop.
Notes de cours
This file contains hidden or 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
| /Documents | |
| /projets <= git init | |
| /.git | |
| mon-site-d-apprentissage-du-web.zip | |
| /mon-deuxieme-projet | |
| index.html | |
| /mon-site-d-apprentissage-du-web <= git init | |
| /.git | |
| index.html | |
| /css | |
| styles.css |
This file contains hidden or 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
| sana-desktop $ cd projets <= "commande" + "argument sans tiret" cd + projets | |
| sana-desktop $ mkdir nom-du-dossier <= "commande" + "argument sans tiret" mkdir + projets | |
| sana-desktop $ rm -rf nom-du-dossier <= "commande" + "option avec 1 tiret" + "argument sans tiret" rm + projets | |
| sana-desktop $ docker --version <= "commande" + "option avec 2 tirets" docker + projets | |
| argument sans tiret = une variable donnée à la commande (un nom, un titre, une valeur, un boolean (true/false)...) | |
| option avec 1 tiret = options pour personnaliser la commande (rm -r = commande remove, en mode "récursif", rm -f : commande remove, en mode "folder", rm -rf : somme des paramètres -r et -f | |
| option avec 2 tirets = option "verbeuse/parlante" --remove --folder --version |
This file contains hidden or 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
| ^ | |
| | UI (User Interface) : terminal (MINGW64, cmd, Warp, iTerm, Terminal...), interface graphique... | |
| | Shell : interface entre les I/O de l'OS, et les I/O de l'UI (terminal, interface graphique...) <> cmd (invite de commandes), PowerShell, WSL | |
| | OS (système d'exploitation: windows, linux, osx...) | |
| | BIOS (sur la carte mère, permet de détecter le matériel) | |
| | HARDWARE (matériel) | |
| UI : interface utilisateur pour utiliser l'OS | |
| - Peut être une interface graphique: (celle de Windows, Linux: "Gnome", "KDE"...) | |
| - Peut être une interface shell: c'est un accès à toutes les fonctions de l'OS, sans interface graphique | |
| -> c'est l'interface (au sens connexion) entre le noyau (l'OS) et les interactions utilisateur | |
| On peut avoir plusieurs shells: | |
| - chacun donne des accès différents à différentes briques de l'OS | |
| - comme si c'était plusieurs utilisateurs Windows, chaque Shell peut aussi avoir accès à ses propres logiciels et droits uniquement | |
| - on a : cmd (shell de windows historique MS-DOS, etc), le shell avec le logiciel git, PowerShell (shell amélioré de windows), bash, zsh... | |
| On peut avoir plusieurs terminaux: | |
| - chacun peut se connecter à n'importe quel shell | |
| - ils ont plus ou moins de fonctionnalités autour |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment