sync: 2026-11-04 11:58

This commit is contained in:
Benji committed 2026-11-04 11:58:04 +01:00
1 parent 0fadfce3fc
commit 3825e60c1a
22 files changed
+473 -73

No files matched your search

+5 -2
View File
@@ -5,6 +5,9 @@ SAE SCR TATCHAEV / VINCENT-GASQUEZ
![[Pasted image 20261016091334.png]]
# Installation de Windows 7
la première étape est de cliquer sur installation personalisé
![[Pasted image 20261027182524.png]]
## Partionemment des disques
Username: tatchaev-vincentg
@@ -173,7 +176,7 @@ mount --mkdir /dev/vda1 /esp
ensuite on remonte la partition EFI dans /esp en précisant à la commande `mount` de créer le répertoire
```bash
grub-install --target=x86_64-efi --efi-directory=/esp --boot-directory=/esp --bootloader-id=GRUB
grub-install --target=x86_64-efi --efi-directory=/esp --boot-directory=/esp --bootloader-id=arch_grub
```
### configuration du grub
@@ -204,7 +207,7 @@ nous supprimerons aussi le fichier de configuration `/etc/grub.d/30_uefi_firmwar
ensuite pour sauvegarder la configuration il faut lancer la commande grub-mkconfig tel que:
```bash
grub-mkconfig -o /esp/grub/grub.cfg
grub-mkconfig -o /boot/grub/grub.cfg
```
puis il faut faire une backup de `/esp/EFI/Boot/bootx64.efi` avec la commande `mv`
-5
View File
@@ -1,5 +0,0 @@
TP
# TP
View File
Whitespace-only changes.
View File
Whitespace-only changes.
View File
Whitespace-only changes.
View File
Whitespace-only changes.
View File
Whitespace-only changes.
View File
Whitespace-only changes.
View File
Whitespace-only changes.
Whitespace-only changes.
View File
Whitespace-only changes.
View File
Whitespace-only changes.
Binary file not shown.
@@ -0,0 +1,64 @@
I.
1.
benji  …/SCR/SCR1.2/TP06   main =$✘!?  15:54  ls GLOB/gLob/*[A-Z]
 GLOB/gLob/44patterN  GLOB/gLob/patterN  GLOB/gLob/pAtterN
GLOB/gLob/paTTerN:
 theglobpattern
2.
benji  …/SCR/SCR1.2/TP06   main =$✘!?  16:02  ls GLOB/*[A-Z]*
 GLOB/1glob22gloB333  GLOB/gloB1bloG
GLOB/gLob:
 44patterN  pAtterN  patterN  paTTerN  Pattern4
3.
benji  …/SCR/SCR1.2/TP06   main =$✘!?  16:06  ls GLOB/?[0-9]* GLOB/gLob/?[0-9]*
 GLOB/11glob22blog3  GLOB/gLob/44patterN
4.
benji  …/SCR/SCR1.2/TP06   main =$✘!?  16:06  ls GLOB/*[0-9][0-9]*
 GLOB/11glob22blog3  GLOB/1glob22  GLOB/1glob22gloB333
II.
1.
If the extglob shell option is enabled using the shopt builtin, the shell recognizes
several extended pattern matching operators. In the following description, a pattern-
list is a list of one or more patterns separated by a |. Composite patterns may be
formed using one or more of the following sub-patterns:
?(pattern-list)
Matches zero or one occurrence of the given patterns.
*(pattern-list)
Matches zero or more occurrences of the given patterns.
+(pattern-list)
Matches one or more occurrences of the given patterns.
@(pattern-list)
Matches one of the given patterns.
!(pattern-list)
Matches anything except one of the given patterns.
2.
shopt sert à activer ou désactiver des options du shell
pour lister les fonctions activer il faut faire shopt sans options
pour activer une option -s (set) et pour désactiver -u (unset)
3.
a) cd *5
bash: cd: *5: Aucun fichier ou dossier de ce nom
b) benji  /etc  17:02  shopt -s nullglob
c) benji  /etc  17:02  builtin cd *5
benji  ~  17:02 