bash script use environment variable - Search