Ajout de travaux
This commit is contained in:
0
23SCR/SCR06/GLOB/11glob22blog3
Normal file
0
23SCR/SCR06/GLOB/11glob22blog3
Normal file
0
23SCR/SCR06/GLOB/1glob
Normal file
0
23SCR/SCR06/GLOB/1glob
Normal file
0
23SCR/SCR06/GLOB/1glob22
Normal file
0
23SCR/SCR06/GLOB/1glob22
Normal file
0
23SCR/SCR06/GLOB/1glob22gloB333
Normal file
0
23SCR/SCR06/GLOB/1glob22gloB333
Normal file
0
23SCR/SCR06/GLOB/gLob/44patterN
Normal file
0
23SCR/SCR06/GLOB/gLob/44patterN
Normal file
0
23SCR/SCR06/GLOB/gLob/Pattern4
Normal file
0
23SCR/SCR06/GLOB/gLob/Pattern4
Normal file
0
23SCR/SCR06/GLOB/gLob/pAtterN
Normal file
0
23SCR/SCR06/GLOB/gLob/pAtterN
Normal file
0
23SCR/SCR06/GLOB/gLob/paTTerN/theglobpattern
Normal file
0
23SCR/SCR06/GLOB/gLob/paTTerN/theglobpattern
Normal file
0
23SCR/SCR06/GLOB/gLob/patterN
Normal file
0
23SCR/SCR06/GLOB/gLob/patterN
Normal file
0
23SCR/SCR06/GLOB/gloB1bloG
Normal file
0
23SCR/SCR06/GLOB/gloB1bloG
Normal file
38
23SCR/SCR06/SCR6.txt
Normal file
38
23SCR/SCR06/SCR6.txt
Normal file
@@ -0,0 +1,38 @@
|
||||
I/
|
||||
|
||||
1/ls -d GLOB/gLob/*[[:upper:]]
|
||||
|
||||
GLOB/gLob/44patterN GLOB/gLob/patterN GLOB/gLob/paTTerN GLOB/gLob/pAtterN
|
||||
|
||||
2/ls(ou echo) -d(avec echo, on ne l'utilise pas) GLOB/*[[:upper:]]*
|
||||
|
||||
GLOB/1glob22gloB333 GLOB/gLob GLOB/gloB1bloG
|
||||
|
||||
3/ls -d GLOB/?[[:digit:]]* GLOB/gLob/?[[:digit:]]*
|
||||
|
||||
GLOB/11glob22blog3 GLOB/gLob/44patterN
|
||||
|
||||
4/ls -d GLOB/*[[:digit:]][[:digit:]]*
|
||||
|
||||
GLOB/11glob22blog3 GLOB/1glob22 GLOB/1glob22gloB333
|
||||
|
||||
II/
|
||||
|
||||
1/
|
||||
shopt --->listes option du shell
|
||||
-s option : set on une option
|
||||
-u option : set off une option
|
||||
|
||||
2/
|
||||
|
||||
nullglobe
|
||||
if set on -> si le dossier n'est pas présent, alors va dans le repertoire home (remplace le motif par du vide)
|
||||
if set off -> affiche une erreur s'il n'est pas présent (maintiens le profil visible)
|
||||
|
||||
3/
|
||||
|
||||
a) il ne touve pas le document. affiche une erreur
|
||||
|
||||
b) on fait shopt -s nullglob, puis shopt nullglob pour voir si il est activer
|
||||
|
||||
c) il nous a ramener dans le répertoire maison, car il ne l'as pas trouver
|
||||
Reference in New Issue
Block a user