1 2 3 4 5 6 7 8 9 10 11
#!/bin/bash (whoami) active=$(cat /home/test/active) nonactive="test-blue" if test $active="test-blue"; then nonactive="test-green" fi echo $nonactive