Skript speichern

Post Reply
Message
Author
horstu
Posts: 14
Joined: 12. Jun 2003 21:31
Contact:

Skript speichern

#1 Post by horstu »

Ich weiß es ist für Euch eine sehr banale Frage, aber trotzdem.
Wie speichert (Befehlssyntax) man ein Skript in eine Datei z.B. xxx.sh ab.
Danke

rattengift

Re: Skript speichern

#2 Post by rattengift »

man braucht dazu keine befehlssyntax sondern einfach einen editor.
$ vi xxx.sh
[clickety-click]
:wq

oder mit irgendeinem anderen editor (kate, kwrite, emacs, ....)
da es ein skript ist, musst du die datei noch ausführbar machen: chmod a+x xxx.sh

Post Reply