1. Home
  2. Bash
  3. Examples
  4. Store command output to variable

Store command output to variable

Shell Script – Store command output to variable

Brief: This example will help you to understand to store the output of a command to a variable in a shell script.

Was this article helpful to you? Yes 2 No
Advertisement