View Single Post
Posts: 992 | Thanked: 738 times | Joined on Jun 2010 @ Low Earth Orbit
#6
Something like:

Code:
if [ `cat /home/user/.profiled/current` == "Outdoors" ]; then echo "Not inside";fi
should work.
 

The Following 2 Users Say Thank You to kureyon For This Useful Post: