terminal.cab

Alle Befehle

which

Thema: Shell und Skripte

Programm: which

Zeigt, welche Programmdatei hinter einem Befehl steckt.

Paket: basis-info

Aufruf

which [-a] NAME...

Beschreibung

Show which program file runs for each NAME, searched in the directories of PATH.

Optionen im Simulator

1 weitere Optionen des echten Programms, im Simulator noch nicht
  • -s im Simulator noch nicht

    Erklärung folgt

Beispiele

Aus der Lektion Hilfe holen
which ls
/usr/bin/ls

Im Terminal ausprobieren

Aus dem Befehl des Tages: type und which
type cd
cd is a shell builtin
type ls
ls is /usr/bin/ls
which ls
/usr/bin/ls

Im Terminal ausprobieren

Wo du ihn lernst

Lektionen

Befehl des Tages

Alle Befehle