how to get path environment variable in linux code example Example: show env in bash #show all variable printenv #result one variable echo $LOCALAPPDATA