terminal.cab

Alle Befehle

source auch .

Thema: Shell und Skripte

Builtin der Shell: source

Führt eine Datei in der aktuellen Shell aus.

Paket: script-werkzeuge

Aufruf

source filename [arguments]

Beschreibung

Run the commands in FILENAME here, in this shell, so that variables, aliases and functions it sets stay. A FILENAME without / is looked up in $PATH first, then in the current directory. ARGUMENTS become $1, $2 ... while it runs.

Optionen im Simulator

Keine Optionen.

Builtin der Shell: .

Führt eine Datei in der aktuellen Shell aus.

Paket: script-werkzeuge

Aufruf

. filename [arguments]

Beschreibung

Run the commands in FILENAME here, in this shell, so that variables, aliases and functions it sets stay. A FILENAME without / is looked up in $PATH first, then in the current directory. ARGUMENTS become $1, $2 ... while it runs.

Optionen im Simulator

Keine Optionen.

Wo du ihn lernst

Noch in keiner Lektion.

Alle Befehle