User Tools

Site Tools


bash

This is an old revision of the document!


Stocker le résultat d'une commande

var=$(ls /);
echo $var;

Fonctions

function bonjour { # ne pas oublier espace avant {
        echo 'bonjour'
}

bonjour # appel de la fonction
bash.1707749836.txt.gz · Last modified: 2024/02/12 14:57 by 195.221.243.132 · Currently locked by: 216.73.217.114