0

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

0 Answers0