First page Back Continue Last page Overview Graphics
Exemple de script (1)
#!/bin/bash
# début du script
echo "Hello $USER"
echo "You are currently on $HOST"
echo "The content of your homedir:"
/bin/ls
# affectation de la variable NBFILES
NBFILES=$(ls | wc -l)
echo "Total: $NBFILES elements"