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?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community