Jump to content

Command execution: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

23 August 2025

  • curprev 19:2019:20, 23 August 2025 Princesssquishuskush talk contribs 563 bytes +563 Created page with "== General == * capture the result of a command's execution for use in the script * execute a command and put the output of the command into a variable * The current syntax for this ** $(command) * The older syntax for this ** `command` * the result of the $(command) is just the output from the command ** This is the string output, not the return status == Examples == * echo The current directory is $PWD ** Since PWD is a shell ENV, you don't need the special syntax * e..."