Search

Tuesday, August 19, 2008

check if I am xyz user or not

if [ "$(whoami)" != 'xyz' ]; then
echo "You are not xyz user."
exit 0
fi

No comments: