[gull] sell script sans editeur
Olivier Bornet
Olivier.Bornet at puck.ch
Thu Aug 14 12:35:02 CEST 2003
Hello,
> Je n'ai rien trouvé sur google -probablement parce que c'est tellement
> évident: pour écrire un script très cours, sous le "bon vieil MSDOS",il
> suffisait de taper: copy con: <nom du fichier batch> et de terminer par
> ctrl-z.
>
> Y'a surement moyen de faire pareil sous Linux?
Faire:
cat > my_script.sh << EOT
echo salut
echo suite du script
EOT
ensuite:
chmod a+x my_script.sh
exécuter:
./my_script.sh
salut
suite du script
Bonne journée.
Olivier
--
Olivier Bornet | français : http://puck.ch/f
Swiss Ice Hockey Results | english : http://puck.ch/e
http://puck.ch/ | deutsch : http://puck.ch/g
Olivier.Bornet at puck.ch | italiano : http://puck.ch/i
Get my PGP-key at http://puck.ch/pgp or at http://wwwkeys.pgp.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://forum.linux-gull.ch/pipermail/gull/attachments/20030814/1b85cc7e/attachment.pgp>
More information about the gull
mailing list