How can I establish "shared" variables for all Bash instances on a machine? -
this question has answer here: setting environment variables in os x? 28 answers how can establish these shared variables forever on bash instances? export path=/developer/nvidia/cuda-5.5/bin:$path export dyld_library_path=/developer/nvidia/cuda-5.5/lib:$dyld_library_path from dyld_library_path seems using mac. can put these in ~/.bashrc . if current $shell bash each time open terminal should execute lines , available read/modify later. e.g. echo $dyld_library_path