terminal.cab

Alle Befehle

xargs

Thema: Suchen

Programm: xargs

Macht aus der Eingabe Argumente für einen Befehl.

Paket: find-xargs

Aufruf

xargs [OPTION]... [COMMAND [ARG]...]

Beschreibung

Read words from standard input and run COMMAND (echo if none is given) with ARGs followed by those words, as often as needed. Words are separated by spaces and newlines; quotes and a backslash keep them together.

Optionen im Simulator

13 weitere Optionen des echten Programms, im Simulator noch nicht
  • -E braucht einen Wert im Simulator noch nicht

    Erklärung folgt

  • -e im Simulator noch nicht

    Erklärung folgt

  • --eof Wert freiwillig im Simulator noch nicht

    Erklärung folgt

  • -i im Simulator noch nicht

    Erklärung folgt

  • --replace Wert freiwillig im Simulator noch nicht

    Erklärung folgt

  • -l Wert freiwillig im Simulator noch nicht

    Erklärung folgt

  • -o, --open-tty im Simulator noch nicht

    Erklärung folgt

  • -p, --interactive im Simulator noch nicht

    Erklärung folgt

  • --process-slot-var braucht einen Wert im Simulator noch nicht

    Erklärung folgt

  • -s, --max-chars braucht einen Wert im Simulator noch nicht

    Erklärung folgt

  • --show-limits im Simulator noch nicht

    Erklärung folgt

  • -x, --exit im Simulator noch nicht

    Erklärung folgt

  • --version im Simulator noch nicht

    Erklärung folgt

Beispiele

Aus der Lektion Abzweigen und weiterreichen
find cache -name "*.tmp" -print0 | xargs -0 -n 1 echo rm
rm cache/a.tmp
rm cache/b.tmp
rm cache/old report.tmp
find cache -name "*.tmp" -print0 | xargs -0 rm
ls cache
keep.log

Im Terminal ausprobieren

Wo du ihn lernst

Lektionen

Alle Befehle