Est-ce possible et si oui comment faire ?

Dans un sheel oui, c'est très simple, mais dans un script ?