src_dir=`dirname "$0"` # first we figure out where we are, but... old_dir=`pwd`; cd "$src_dir" # ...since src_dir may be a relative path, src_dir=`pwd`; cd "$old_dir ...
If you're working in a Linux environment, chances are you've encountered environment variables—even if you didn’t realize it at the time. They quietly power much of what goes on behind the scenes in ...