I have a shell script that has multiple variables , I would like to export a specific variable from the script to a command I want to run after the shell script is executed
#!/bin/sh
a=10
b=20
c=a+b
echo $a
export a
and the command I want to run is echo $a
source
or.
). – Artem S. Tashkinov Oct 29 '20 at 21:55