#! /bin/csh
#! /bin/sh
Mode debug
#! /bin/sh -vx
Détection des variables non définies
#! /bin/sh -uCommentaires après le
#
/bin/sh)
% cat /tmp/informations
#! /bin/sh
# Introduction
clear ; echo "Bonjour"
# Quelques informations
echo "Tu es $USER sur $HOST"
echo "en `pwd`"
% ls -l /tmp/informations
-rwxr-x--- 1 marquet ... informations
% /tmp/informations
Boujour
Tu es marquet sur homel
en /tmp