fsh/tmp/evalTest.sh
Tessa L 573f690684 Raw code from Mint forums querying.
Special thanks to rene & Welcome for their contributions.
2020-08-21 17:26:45 -07:00

8 lines
110 B
Bash
Executable File

echo "Shell is '${SHELL}'"
command_string="ps ax"
process="ps ax"
eval "$command_string" | grep "$process"