Let's say I have a script:
#!/bin/bash
echo "$1"
if [[ ! $1 ]]; then
echo "True"
fi
export ABC="/home/aashish"
ABC
is not available after the execution of this script. How can I make that variable persist after the execution as well?
Let's say I have a script:
#!/bin/bash
echo "$1"
if [[ ! $1 ]]; then
echo "True"
fi
export ABC="/home/aashish"
ABC
is not available after the execution of this script. How can I make that variable persist after the execution as well?