Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
elearning:linuxscripts:start [2020/02/04 17:03] – admin | elearning:linuxscripts:start [2023/07/13 16:59] (Version actuelle) – admin | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
~~PDF: | ~~PDF: | ||
- | Version : **2020.01** | + | **Version 2023.01** |
Dernière mise-à-jour : ~~LASTMOD~~ | Dernière mise-à-jour : ~~LASTMOD~~ | ||
- | =====Linux Shell : Programmation | + | ======LCF900 - Unix Programmation |
=====Présentation===== | =====Présentation===== | ||
Ligne 13: | Ligne 13: | ||
**Objectif** : Maîtriser les bases du scripting bash/ksh sous Linux. | **Objectif** : Maîtriser les bases du scripting bash/ksh sous Linux. | ||
\\ | \\ | ||
- | **Public** : Techniciens et Administrateurs Linux. | + | **Public** : Utilisateurs d' |
\\ | \\ | ||
- | **Pré requis** : Avoir réussi la certification CompTIA Linux+ Powered by LPI ou la certification LPIC-1 ou la certification SUSE CLA ou posséder les compétences équivalentes. | + | **Pré requis** : Connaître un autre système d' |
\\ | \\ | ||
**Méthode d' | **Méthode d' | ||
Ligne 21: | Ligne 21: | ||
**Validation des acquis** : Évaluations à l'aide de tests auto-correctifs. | **Validation des acquis** : Évaluations à l'aide de tests auto-correctifs. | ||
\\ | \\ | ||
- | **Modalités** : 21 heures. | + | **Modalités** : 3 jours (21h). |
\\ | \\ | ||
- | **Machine Virtuelle** : **[[https://campus.ittraining.center/ | + | **Formateur** : Certifié |
- | ====Prérequis Matériel==== | + | =====Les Plus de cette Formation===== |
- | | + | L' |
- | * Dans le cas de Windows(tm), | + | |
- | * Le mot de passe du compte administrateur du système, | + | * de mesurer le niveau du stagiaire avant la formation et celui atteint en fin de formation grâce aux tests de validations des acquis, |
+ | * de suivre du travail de chaque participant en termes de temps passé dans chaque module grâce à un reporting détaillé. | ||
+ | |||
+ | L' | ||
+ | |||
+ | * d' | ||
+ | * de télécharger des supports de cours et des LABS au format PDF le dernier jour de la formation, | ||
+ | * de refaire les LABS en mode autonome en cas de missions décalées en relation avec le contenu de la formation initiale, | ||
+ | * d' | ||
+ | |||
+ | =====Prérequis===== | ||
+ | |||
+ | ==== Matériel==== | ||
+ | |||
+ | | ||
* Clavier AZERTY FR ou QWERTY US, | * Clavier AZERTY FR ou QWERTY US, | ||
- | * 8 Go de RAM minimum, | + | * 4 Go de RAM minimum, |
- | * Processeur | + | * Processeur |
- | * 8 Go d' | + | * Un casque ou des écouteurs, |
- | * Un casque ou des écouteurs | + | |
* Un micro (optionnel). | * Un micro (optionnel). | ||
- | ====Prérequis | + | ====Logiciels==== |
- | * Oracle VirtualBox v 6.0 ou plus (MacOS, Linux, Windows(tm) | + | * Web Chrome version 72+ ou |
- | * Si Windows(tm) - Putty et WinSCP. | + | * Microsoft Edge version 79+ ou |
+ | * Firefox version 65+. | ||
- | ====Prérequis | + | ====Internet==== |
- | * Un accès à Internet rapide **sans** passer par un proxy, | + | * Un accès à Internet |
- | * Accès **débloqué** aux domaines suivants | + | * Accès **débloqué** aux ports 80 et 443 à : https://ittraining.network |
- | * *.ittraining.io | + | |
- | | + | |
- | | + | |
- | | + | |
=====Programme===== | =====Programme===== | ||
====Jour #1 - 7 heures==== | ====Jour #1 - 7 heures==== | ||
+ | |||
+ | * **Présentation de Linux** - 1 heure. | ||
+ | * De MULTICS aux Guerres d'Unix | ||
+ | * Unix et le PC | ||
+ | * De Minix à Linux | ||
+ | |||
+ | * **L' | ||
+ | * Présentation | ||
+ | * Lancer et Quitter VI | ||
+ | * Set | ||
+ | * Commandes du Curseur | ||
+ | * Insertion de Texte | ||
+ | * Recherche de Texte | ||
+ | * Suppression de Texte | ||
+ | * Copier - Coller | ||
+ | * Couper - Coller | ||
+ | * En cas de problème | ||
+ | * Validation des Acquis | ||
+ | |||
+ | * **48 Commandes de Base** - 4 heures. | ||
+ | * Etude des commandes de base | ||
+ | * La commande stty | ||
+ | * La commande date | ||
+ | * La commande who | ||
+ | * La commande df | ||
+ | * La commande free | ||
+ | * La commande whoami | ||
+ | * La commande pwd | ||
+ | * La commande cd | ||
+ | * La commande ls | ||
+ | * La commande touch | ||
+ | * La commande echo | ||
+ | * La commande cp | ||
+ | * La commande cat | ||
+ | * La commande mv | ||
+ | * La commande mkdir | ||
+ | * La commande rm | ||
+ | * La commande rmdir | ||
+ | * La commande rm | ||
+ | * La commande sort | ||
+ | * La commande more | ||
+ | * La commande less | ||
+ | * La commande find | ||
+ | * La commande su | ||
+ | * La commande updatedb | ||
+ | * La commande whereis | ||
+ | * La commande which | ||
+ | * La commande uptime | ||
+ | * La commande w | ||
+ | * La commande uname | ||
+ | * La commande du | ||
+ | * La commande lsmod | ||
+ | * La commande modprobe | ||
+ | * La commande rmmod | ||
+ | * La commande modinfo | ||
+ | * La commande clear | ||
+ | * La commande exit | ||
+ | * La commande logout | ||
+ | * La commande shutdown | ||
+ | * La commande reboot | ||
+ | * La commande halt | ||
+ | * La commande poweroff | ||
+ | * La commande sleep | ||
+ | * La commande logout | ||
+ | * La commande shutdown | ||
+ | * La commande reboot | ||
+ | * La commande sec | ||
+ | * La commande screen | ||
+ | * Options et arguments | ||
+ | * Validation des Acquis | ||
+ | |||
+ | ====Jour #2 - 7 heures==== | ||
* **Outils de Manipulation de Fichiers Textes** - 4 heures. | * **Outils de Manipulation de Fichiers Textes** - 4 heures. | ||
Ligne 78: | Ligne 160: | ||
* La commande tail | * La commande tail | ||
* Validation des acquis | * Validation des acquis | ||
- | * **Commandes** : stty, date, who, df, free, whoami, pwd, cd, ls, touch, echo, cp, file, cat, mv, mkdir, rmdir, rm, sort, more, find, su, locate, updatedb, whereis, which, uptime, w, uname, du, lsmod, modprobe, rmmod, modinfo, clear, exit, logout, shutdown, reboot, halt, poweroff, sleep, grep, egrep, fgrep, sed, awk, tr, paste, cut, split, diff, cmp, uniq, patch, strings, comm, od, head, tail. | ||
* **La Ligne de Commande** - 3 heures.. | * **La Ligne de Commande** - 3 heures.. | ||
Ligne 92: | Ligne 173: | ||
* Régionalisation et Internationalisation | * Régionalisation et Internationalisation | ||
* Options du shell bash | * Options du shell bash | ||
- | * Les Scripts Shell | + | |
+ | |||
+ | ====Jour #3 - 7 heures==== | ||
+ | |||
+ | * **Les Scripts Shell** - 5 heures | ||
* Exécution | * Exécution | ||
* Les variables spéciales | * Les variables spéciales | ||
Ligne 107: | Ligne 192: | ||
* Boucles | * Boucles | ||
* Scripts de Démarrage | * Scripts de Démarrage | ||
- | * Validation des acquis | + | |
- | * **Commandes** : type, alias, unalias, chsh, history, wc, tee, set, vi, script, read, test, expr, let, if, case, for, while. | + | * Fonction **cree_user**, |
- | + | * Fonction **modif_user**, | |
- | ====Jour #2 - 7 heures==== | + | * Fonction **affiche_user**, |
- | + | * Fonction **cree_liste_user**, | |
- | * **LAB #1** - 3 heures.. | + | * Fonction **cree_group**, |
- | * Automatiser la Gestion des Utilisateurs et Groupes, | + | * Fonction **modif_group**, |
- | * Fonction **cree_user**, | + | * Fonction **delete_group**, |
- | * Fonction **modif_user**, | + | * Fonction **affiche_group**, |
- | * Fonction **affiche_user**, | + | * Menu des choix. |
- | * Fonction **cree_liste_user**, | + | * LAB #2 - Automatiser la Gestion des Sauvegardes, |
- | * Fonction **cree_group**, | + | * Fonction **archive_rep**, |
- | * Fonction **modif_group**, | + | * Fonction **restaure_rep**, |
- | * Fonction **delete_group**, | + | * Fonction **affiche_archive**, |
- | * Fonction **affiche_group**, | + | * Fonction **compress_archive**, |
- | * Menu des choix. | + | * Fonction **decompress_archive**, |
- | + | * Gestion des erreurs. | |
- | * **LAB #2** - 4 heures.. | + | * Validation des acquis |
- | * Automatiser la Gestion des Sauvegardes, | + | |
- | * Fonction **archive_rep**, | + | |
- | * Fonction **restaure_rep**, | + | |
- | * Fonction **affiche_archive**, | + | |
- | * Fonction **compress_archive**, | + | |
- | * Fonction **decompress_archive**, | + | |
- | * Gestion des erreurs. | + | |
- | ----- | + | ---- |
- | < | + | Copyright © 2023 Hugh Norris |
- | <div align=" | + | |
- | Copyright © 2020 Hugh Norris. | + | |
- | </ | + |